:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --accent: #ea580c;
    --accent-light: #ffedd5;
    --text: #1e293b;
    --text-muted: #64748b;
    --surface: #ffffff;
    --surface-alt: #f0fdfa;
    --surface-dark: #134e4a;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(13, 148, 136, 0.08);
    --shadow-lg: 0 12px 40px rgba(13, 148, 136, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
    --container-max: 1140px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 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);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

/* ========== 导航 ========== */
.zd94d2navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.zd94d2navbar-brand img {
    height: 42px;
    width: auto;
}

.zd94d2nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.zd94d2nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.zd94d2navbar .navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
}

.zd94d2navbar .navbar-collapse {
    background: var(--surface);
}

@media (max-width: 991px) {
    .zd94d2navbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border-radius: var(--radius);
        border: 1px solid var(--border);
        max-height: 70vh;
        overflow-y: auto;
    }

    .zd94d2navbar .navbar-nav .nav-link {
        padding: 0.5rem 0.35rem !important;
    }
}

/* ========== 通用区块 ========== */
.zd94d2container.container {
    max-width: var(--container-max);
    padding-left: 1rem;
    padding-right: 1rem;
}

.zd94d2section {
    padding: 4.5rem 0;
}

.zd94d2section-alt {
    background: var(--surface-alt);
}

.zd94d2section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.zd94d2section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--surface-dark);
    margin-bottom: 0.75rem;
}

.zd94d2section-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.05rem;
}

.zd94d2btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.4rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.zd94d2btn-primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.zd94d2btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: background var(--transition), color var(--transition);
}

.zd94d2btn-outline:hover {
    background: var(--primary);
    color: #fff !important;
}

/* ========== 首页 Hero ========== */
.zd94d2hero-section {
    background: linear-gradient(160deg, var(--surface-dark) 0%, #0d9488 55%, #2dd4bf 100%);
    color: #fff;
    padding: 4rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.zd94d2hero-section::after {
    content: '';
    position: absolute;
    right: -8%;
    top: 10%;
    width: 45%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.zd94d2hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.zd94d2hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.zd94d2hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.zd94d2hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.zd94d2hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.zd94d2hero-actions .zd94d2btn-light {
    background: #fff;
    color: var(--primary-dark) !important;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.35rem;
    font-weight: 600;
}

.zd94d2hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.zd94d2hero-image-wrap {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    max-width: 340px;
    width: 100%;
}

.zd94d2hero-image {
    border-radius: var(--radius);
    width: 100%;
    object-fit: contain;
}

/* ========== 优势 Bento ========== */
.zd94d2bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.zd94d2bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: border-color var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.zd94d2bento-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.zd94d2bento-card.span-4 { grid-column: span 4; }
.zd94d2bento-card.span-6 { grid-column: span 6; }
.zd94d2bento-card.span-8 { grid-column: span 8; }

.zd94d2bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.zd94d2bento-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--surface-dark);
}

.zd94d2bento-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ========== 数据条 ========== */
.zd94d2stats-section {
    background: var(--surface-dark);
    color: #fff;
    padding: 3rem 0;
}

.zd94d2stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.zd94d2stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.zd94d2stat-item:last-child {
    border-right: none;
}

.zd94d2stat-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #5eead4;
    line-height: 1.2;
}

.zd94d2stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.35rem;
}

/* ========== 下载区 ========== */
.zd94d2download-section {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
}

.zd94d2download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.zd94d2download-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.zd94d2download-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.zd94d2platform-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.zd94d2platform-icon.pc {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.zd94d2platform-icon.mobile {
    background: linear-gradient(135deg, var(--accent), #c2410c);
}

.zd94d2download-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--surface-dark);
}

.zd94d2download-card .meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.zd94d2download-info {
    flex: 1;
    background: var(--surface-alt);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
}

.zd94d2info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--text);
}

.zd94d2info-item:last-child {
    margin-bottom: 0;
}

.zd94d2info-item i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.zd94d2download-action {
    margin-top: auto;
}

.zd94d2download-action .zd94d2btn-primary {
    width: 100%;
}

/* ========== 安全区 ========== */
.zd94d2security-section {
    padding: 4.5rem 0;
    background: var(--surface);
}

.zd94d2security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.zd94d2security-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.35rem;
    height: 100%;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.zd94d2security-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--surface-dark);
    margin-bottom: 0.85rem;
}

.zd94d2security-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.zd94d2feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.zd94d2feature-item i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.zd94d2cert-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.zd94d2certificate-card {
    text-align: center;
    padding: 1.25rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-alt);
    height: 100%;
}

.zd94d2certificate-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--surface-dark);
    margin: 0.5rem 0 0.35rem;
}

.zd94d2certificate-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========== 知识 & FAQ ========== */
.zd94d2knowledge {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.zd94d2knowledge-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.zd94d2knowledge-panel h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--surface-dark);
    margin-bottom: 0.75rem;
}

.zd94d2knowledge-panel p,
.zd94d2knowledge-panel li {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.zd94d2knowledge-panel ul {
    padding-left: 1.1rem;
    margin: 0.5rem 0 0;
}

.zd94d2faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.zd94d2faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    background: var(--surface);
    height: 100%;
    overflow: hidden;
}

.zd94d2faq-item h5 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--surface-dark);
    margin-bottom: 0.5rem;
}

.zd94d2faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========== 文章区 ========== */
#article.zd94d2section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

#article .zd94d2article-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow);
    background: var(--surface);
}

#article .zd94d2thumb-home {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

#article .card-body {
    padding: 0.85rem;
}

#article h3.h5 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

#article h3.h5 a {
    color: var(--text);
}

#article h3.h5 a:hover {
    color: var(--primary);
}

/* ========== 页脚 ========== */
.zd94d2footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
}

.zd94d2footer-title {
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.zd94d2footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd94d2footer-links li {
    margin-bottom: 0.5rem;
}

.zd94d2footer-link {
    color: #94a3b8;
    font-size: 0.9rem;
}

.zd94d2footer-link:hover {
    color: #5eead4;
}

.zd94d2friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd94d2friend-links a {
    color: #94a3b8;
    font-size: 0.875rem;
}

.zd94d2footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.25rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

.zd94d2footer-bottom a {
    color: #cbd5e1;
}

/* ========== 列表/内页 ========== */
.zd94d2page-main {
    padding: 2.5rem 0 3.5rem;
    background: var(--surface-alt);
    min-height: 50vh;
}

.zd94d2page-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.zd94d2page-card .card-body {
    padding: 1.25rem 1.5rem;
}

.zd94d2thumb-list,
.zd94d2thumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.zd94d2side-thumb-wrap {
    width: 72px;
    flex: 0 0 72px;
}

.zd94d2thumb-side {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.zd94d2thumb-cover {
    max-width: 100%;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
}

.zd94d2article-content {
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.zd94d2article-content img {
    max-width: 100%;
    height: auto;
}

.zd94d2meta-tags .zd94d2tagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--primary-light);
    border-radius: 6px;
    font-size: 0.85rem;
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
    margin: 0;
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ========== 响应式 ========== */
@media (max-width: 991px) {
    .zd94d2hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .zd94d2hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .zd94d2hero-actions {
        justify-content: center;
    }

    .zd94d2bento-card.span-4,
    .zd94d2bento-card.span-6,
    .zd94d2bento-card.span-8 {
        grid-column: span 12;
    }

    .zd94d2stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zd94d2stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding: 1rem;
    }

    .zd94d2stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }

    .zd94d2security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zd94d2knowledge {
        grid-template-columns: 1fr;
    }

    .zd94d2download-grid {
        grid-template-columns: 1fr;
    }

    .zd94d2cert-row {
        grid-template-columns: 1fr;
    }

    .zd94d2footer .row > [class*="col-"] {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .zd94d2friend-links {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .zd94d2section {
        padding: 3rem 0;
    }

    .zd94d2hero-section {
        padding: 2.5rem 0 3rem;
    }

    .zd94d2hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .zd94d2hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .zd94d2stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .zd94d2stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }

    .zd94d2stat-item:nth-child(even) {
        border-right: none;
    }

    .zd94d2security-grid {
        grid-template-columns: 1fr;
    }

    .zd94d2faq-grid {
        grid-template-columns: 1fr;
    }

    .zd94d2download-card-head {
        flex-wrap: wrap;
    }

    .zd94d2download-info {
        padding: 0.85rem;
    }

    #article .zd94d2thumb-home {
        height: 96px;
    }

    #article h3.h5 {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .zd94d2thumb-list,
    .zd94d2thumb-related {
        height: 72px;
    }

    .zd94d2thumb-side {
        height: 50px;
    }

    .zd94d2thumb-cover {
        height: 170px;
    }

    .listbox .e2 li h2.h5 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .listbox .e2 li p {
        font-size: 0.88rem;
    }
}

@media (max-width: 575px) {
    .zd94d2section-head {
        margin-bottom: 1.75rem;
    }

    .zd94d2stats-grid {
        grid-template-columns: 1fr;
    }

    .zd94d2stat-item,
    .zd94d2stat-item:nth-child(odd) {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .zd94d2stat-item:last-child {
        border-bottom: none;
    }

    #article .zd94d2thumb-home {
        height: 88px;
    }

    .zd94d2thumb-list,
    .zd94d2thumb-related {
        height: 64px;
    }

    .zd94d2thumb-cover {
        height: 150px;
    }

    .zd94d2page-card .card-body {
        padding: 1rem;
    }
}

/* Bootstrap 兼容 */
.btn.zd94d2btn {
    border-radius: 10px;
}

.bg-light {
    background-color: var(--surface-alt) !important;
}
