:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #14b8a6;
    --accent: #d97706;
    --accent-light: #fbbf24;
    --surface: #ffffff;
    --surface-alt: #f0fdfa;
    --surface-muted: #ecfdf5;
    --text: #134e4a;
    --text-muted: #5f7a78;
    --border: rgba(15, 118, 110, 0.12);
    --shadow: 0 4px 24px rgba(15, 118, 110, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 118, 110, 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', 'Segoe 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);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

/* —— 导航 —— */
.z1c2d5navbar {
    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: 1000;
}

.z1c2d5navbar-brand img {
    height: 42px;
    width: auto;
}

.z1c2d5navbar .navbar-nav {
    gap: 0.15rem;
}

.z1c2d5nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.z1c2d5nav-link:hover {
    color: var(--primary) !important;
    background: var(--surface-muted);
}

.z1c2d5navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
}

.z1c2d5container.container {
    max-width: var(--container-max);
}

/* —— Hero —— */
.z1c2d5hero-section {
    background: linear-gradient(160deg, #042f2e 0%, var(--primary-dark) 45%, var(--primary) 100%);
    color: #fff;
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.z1c2d5hero-section::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 70%);
    top: -120px;
    right: -80px;
    pointer-events: none;
}

.z1c2d5hero-content {
    position: relative;
    z-index: 1;
}

.z1c2d5hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.z1c2d5hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.z1c2d5hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.92;
    margin-bottom: 1.75rem;
    max-width: 540px;
    line-height: 1.7;
}

.z1c2d5hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.z1c2d5hero-buttons .btn {
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.z1c2d5hero-buttons .btn-light {
    background: #fff;
    color: var(--primary-dark);
}

.z1c2d5hero-buttons .btn-primary,
.z1c2d5btn-primary {
    background: var(--accent);
    color: #fff;
}

.z1c2d5hero-buttons .btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.z1c2d5hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.z1c2d5hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.z1c2d5hero-image-container {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 360px;
    margin: 0 auto;
}

.z1c2d5hero-image {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: var(--radius);
    object-fit: contain;
}

.z1c2d5hero-image-shadow {
    display: none;
}

/* —— 通用区块 —— */
.z1c2d5section {
    padding: 4rem 0;
}

.z1c2d5section-alt {
    background: var(--surface-alt);
}

.z1c2d5section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.z1c2d5section-lead {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* —— 特点 Bento —— */
.z1c2d5bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.z1c2d5bento-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
    overflow: hidden;
    min-width: 0;
}

.z1c2d5bento-item:hover {
    box-shadow: var(--shadow-lg);
}

.z1c2d5bento-item.span-4 { grid-column: span 4; }
.z1c2d5bento-item.span-6 { grid-column: span 6; }
.z1c2d5bento-item.span-8 { grid-column: span 8; }

.z1c2d5bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--surface-muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.z1c2d5bento-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.z1c2d5bento-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* —— 统计条 —— */
.z1c2d5stats-section {
    background: var(--primary-dark);
    color: #fff;
    padding: 2.5rem 0;
}

.z1c2d5stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.z1c2d5stat-item {
    text-align: center;
    padding: 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.z1c2d5stat-item:last-child {
    border-right: none;
}

.z1c2d5stat-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent-light);
}

.z1c2d5stat-label {
    font-size: 0.88rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

/* —— 下载区 —— */
.z1c2d5download-section {
    padding: 4rem 0;
    background: var(--surface-muted);
}

.z1c2d5download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.z1c2d5download-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.z1c2d5download-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.z1c2d5platform-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.z1c2d5ios-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.z1c2d5android-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.z1c2d5download-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
    color: var(--primary-dark);
}

.z1c2d5download-card .text-muted {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    margin: 0;
}

.z1c2d5download-info {
    background: var(--surface-alt);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    flex: 1;
    border: 1px solid var(--border);
}

.z1c2d5info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.z1c2d5info-item:last-child {
    margin-bottom: 0;
}

.z1c2d5info-item i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.z1c2d5download-action .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    background: var(--primary);
    border: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.z1c2d5download-action .btn:hover {
    background: var(--primary-dark);
}

/* —— 安全区 —— */
.z1c2d5security-section {
    padding: 4rem 0;
}

.z1c2d5security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.z1c2d5security-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    height: 100%;
    min-width: 0;
    box-shadow: var(--shadow);
}

.z1c2d5security-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--surface-muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.z1c2d5security-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.z1c2d5security-features {
    background: var(--surface-alt);
    border-radius: var(--radius);
    padding: 0.85rem;
    border: 1px solid var(--border);
}

.z1c2d5feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.z1c2d5feature-item:last-child {
    margin-bottom: 0;
}

.z1c2d5feature-item i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.z1c2d5cert-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.z1c2d5certificate-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    min-width: 0;
}

.z1c2d5certificate-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.z1c2d5certificate-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.z1c2d5certificate-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* —— FAQ —— */
.z1c2d5faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.z1c2d5faq-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.35rem;
    min-width: 0;
    box-shadow: var(--shadow);
}

.z1c2d5faq-card h5 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.z1c2d5faq-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* —— 知识区 —— */
.z1c2d5knowledge-block {
    background: linear-gradient(135deg, var(--surface-muted) 0%, var(--surface-alt) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 0;
}

.z1c2d5knowledge-block h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.z1c2d5knowledge-block p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.75;
}

.z1c2d5knowledge-block p:last-child {
    margin-bottom: 0;
}

/* —— 文章区 —— */
#article .card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

#article .card-body {
    padding: 0.85rem;
}

.z1c2d5thumb-home {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

#article h3.h5 {
    font-size: 0.95rem;
    line-height: 1.4;
}

#article h3.h5 a {
    color: var(--text);
}

#article h3.h5 a:hover {
    color: var(--primary);
}

/* —— 页脚 —— */
.z1c2d5footer {
    background: #042f2e;
    color: rgba(255, 255, 255, 0.75);
    padding: 3rem 0 1.5rem;
}

.z1c2d5footer p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.z1c2d5footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.z1c2d5footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.z1c2d5footer-links li {
    margin-bottom: 0.5rem;
}

.z1c2d5footer-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.z1c2d5footer-link:hover {
    color: var(--accent-light);
}

.z1c2d5friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.z1c2d5friend-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.z1c2d5footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.z1c2d5footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

/* —— 列表/内页 —— */
.z1c2d5page-header {
    padding: 2rem 0 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.z1c2d5page-header h1 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.z1c2d5inner-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--surface);
}

.z1c2d5inner-card .card-body {
    padding: 1.25rem;
}

.z1c2d5article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    overflow-wrap: break-word;
}

.z1c2d5article-content img {
    max-width: 100%;
    height: auto;
}

.z1c2d5meta-tags .z1c2d5tagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--surface-muted);
    border-radius: 6px;
    font-size: 0.85rem;
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.z1c2d5inner-card .card-body {
    overflow: hidden;
}

.bg-light {
    background: var(--surface-alt) !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* —— 响应式 —— */
@media (max-width: 991px) {
    .z1c2d5bento-item.span-4,
    .z1c2d5bento-item.span-6,
    .z1c2d5bento-item.span-8 {
        grid-column: span 6;
    }

    .z1c2d5security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .z1c2d5stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .z1c2d5stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 1rem;
    }

    .z1c2d5stat-item:nth-child(2n) {
        border-right: none;
    }

    .z1c2d5stat-item:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }
}

@media (max-width: 767px) {
    .z1c2d5hero-section {
        padding: 3rem 0 3.5rem;
    }

    .z1c2d5hero-visual {
        margin-top: 2rem;
    }

    .z1c2d5hero-buttons {
        flex-direction: column;
    }

    .z1c2d5hero-buttons .btn {
        width: 100%;
    }

    .z1c2d5section {
        padding: 2.75rem 0;
    }

    .z1c2d5bento-grid {
        grid-template-columns: 1fr;
    }

    .z1c2d5bento-item.span-4,
    .z1c2d5bento-item.span-6,
    .z1c2d5bento-item.span-8 {
        grid-column: span 1;
    }

    .z1c2d5download-grid {
        grid-template-columns: 1fr;
    }

    .z1c2d5security-grid {
        grid-template-columns: 1fr;
    }

    .z1c2d5cert-row {
        grid-template-columns: 1fr;
    }

    .z1c2d5faq-grid {
        grid-template-columns: 1fr;
    }

    .z1c2d5stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .z1c2d5stat-number {
        font-size: 1.5rem;
    }

    .z1c2d5knowledge-block {
        padding: 1.25rem;
    }

    .z1c2d5navbar {
        padding: 0.5rem 0;
    }

    .z1c2d5navbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        max-height: 70vh;
        overflow-y: auto;
    }

    .z1c2d5navbar .nav-link {
        padding: 0.5rem 0.35rem !important;
    }

    #article .row-cols-lg-5 {
        --bs-columns: 2;
    }

    #article .z1c2d5thumb-home {
        height: 96px !important;
    }

    .listbox .e2 li h2.h5 {
        font-size: 1rem;
    }

    .z1c2d5thumb-list,
    .z1c2d5thumb-related {
        height: 72px !important;
    }

    .z1c2d5thumb-cover {
        max-width: 100% !important;
        width: 100%;
        height: 170px !important;
    }

    .z1c2d5footer .row > div {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .z1c2d5friend-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .z1c2d5hero-image-container {
        padding: 1rem;
    }

    .z1c2d5download-card {
        padding: 1.15rem;
    }

    .z1c2d5download-card-head {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    #article .z1c2d5thumb-home {
        height: 88px !important;
    }

    .z1c2d5thumb-list,
    .z1c2d5thumb-related {
        height: 64px !important;
    }

    .z1c2d5thumb-cover {
        height: 150px !important;
    }

    .z1c2d5stat-item {
        padding: 0.75rem 0.25rem;
    }
}
