:root {
    --primary: #2d6a6a;
    --primary-dark: #1b4545;
    --accent: #e07a5f;
    --accent-light: #f4a261;
    --bg: #f7f6f3;
    --bg-alt: #eef3f2;
    --surface: #ffffff;
    --text: #2c3333;
    --text-muted: #5c6b6b;
    --border: rgba(45, 106, 106, 0.14);
    --radius: 12px;
    --radius-lg: 18px;
    --shadow: 0 4px 24px rgba(27, 69, 69, 0.08);
    --shadow-hover: 0 8px 32px rgba(27, 69, 69, 0.12);
    --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(--bg);
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

/* 导航 */
.zae9denavbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.zae9denavbar-brand img {
    height: 42px;
    width: auto;
}

.zae9denav-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);
}

.zae9denav-link:hover {
    color: var(--primary) !important;
    background: var(--bg-alt);
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
}

.navbar-collapse {
    background: var(--surface);
}

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        max-height: 70vh;
        overflow-y: auto;
    }

    .zae9denav-link {
        padding: 0.55rem 0.25rem !important;
    }
}

/* 通用板块 */
.zae9desection {
    padding: 4.5rem 0;
}

.zae9desection-head {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.zae9desection-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.zae9desection-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
}

.zae9detext-center {
    text-align: center;
}

.zae9depanel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    overflow: hidden;
}

.zae9depanel:hover {
    box-shadow: var(--shadow-hover);
}

/* 英雄区 */
.zae9dehero-section {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 55%, #3d8585 100%);
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
}

.zae9dehero-section::after {
    content: "";
    position: absolute;
    right: -8%;
    top: -20%;
    width: 45%;
    height: 140%;
    background: radial-gradient(circle, rgba(224, 122, 95, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.zae9dehero-content {
    position: relative;
    z-index: 1;
}

.zae9dehero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.zae9dehero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.zae9dehero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.92;
    max-width: 540px;
    margin-bottom: 1.5rem;
}

.zae9dehero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.zae9dehero-image {
    max-width: 280px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.zae9dehero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.zae9debtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.zae9debtn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.zae9debtn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.35);
}

.zae9debtn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.zae9debtn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
}

.zae9debtn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: transparent;
}

.zae9debtn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.zae9debtn-outline-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
}

.zae9debtn-outline-sm:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 767px) {
    .zae9dehero-buttons {
        flex-direction: column;
    }

    .zae9dehero-buttons .zae9debtn {
        width: 100%;
    }

    .zae9dehero-visual {
        margin-top: 0.5rem;
    }

    .zae9dehero-image {
        max-width: 220px;
    }
}

/* 特点区 */
.zae9defeatures-section {
    background: var(--surface);
}

.zae9defeature-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
}

.zae9depanel-icon,
.zae9defeature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--primary);
    border-radius: 14px;
    font-size: 1.4rem;
}

.zae9defeature-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.zae9defeature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

.zae9deintro-block {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.zae9deintro-block h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.zae9deintro-block p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 统计条 */
.zae9destats-section {
    background: var(--primary-dark);
    color: #fff;
    padding: 2.5rem 0;
}

.zae9destat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
}

.zae9destat-number {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1.2;
}

.zae9destat-label {
    font-size: 0.9rem;
    opacity: 0.88;
    margin-top: 0.25rem;
}

/* 下载区 */
.zae9dedownload-section {
    background: var(--bg-alt);
}

.zae9dedownload-subtitle {
    color: var(--text-muted);
}

.zae9dedownload-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.zae9dedownload-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.zae9dedownload-card-head h3 {
    font-size: 1.1rem;
    margin: 0 0 0.2rem;
    color: var(--primary-dark);
}

.zae9dedownload-card-head p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.zae9deplatform-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;
    flex-shrink: 0;
}

.zae9dewin-icon {
    background: linear-gradient(135deg, #0078d4, #005a9e);
}

.zae9deandroid-icon {
    background: linear-gradient(135deg, #3ddc84, #2a9d5c);
}

.zae9dedownload-info {
    list-style: none;
    padding: 1rem;
    margin: 0 0 1.25rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    flex: 1;
}

.zae9dedownload-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.zae9dedownload-info li:last-child {
    margin-bottom: 0;
}

.zae9dedownload-info i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.zae9dedownload-action .zae9debtn {
    width: 100%;
}

.zae9dedownload-note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 2rem 0 0;
    padding: 0 1rem;
}

@media (max-width: 767px) {
    .zae9dedownload-card-head {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* 安全区 */
.zae9desecurity-section {
    background: var(--surface);
}

.zae9desecurity-card {
    text-align: center;
    padding: 1.5rem 1.25rem;
}

.zae9desecurity-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
}

.zae9desecurity-card h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.zae9desecurity-features {
    list-style: none;
    padding: 0.85rem;
    margin: 0;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: left;
}

.zae9desecurity-features li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
}

.zae9desecurity-features li:last-child {
    border-bottom: none;
}

/* FAQ */
.zae9defaq-section {
    background: var(--bg-alt);
}

.zae9defaq-card {
    padding: 1.35rem 1.5rem;
}

.zae9defaq-card h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.6rem;
}

.zae9defaq-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 文章区 */
.zae9dearticle-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.zae9dearticle-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.zae9dearticle-thumb-link {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.zae9dethumb-home {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.zae9dearticle-card-body {
    padding: 0.85rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zae9dearticle-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.zae9dearticle-title {
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.zae9dearticle-title a {
    color: var(--text);
}

.zae9dearticle-title a:hover {
    color: var(--primary);
}

/* 页脚 */
.zae9defooter {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.zae9defooter-desc {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.zae9defooter-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.zae9defooter-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zae9defooter-links li {
    margin-bottom: 0.5rem;
}

.zae9defooter-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.zae9defooter-link:hover {
    color: var(--accent-light);
}

.zae9defriend-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.zae9defriend-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

.zae9defriend-links a:hover {
    color: var(--accent-light);
}

.zae9defooter-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
    margin-top: 2rem;
    font-size: 0.85rem;
}

.zae9defooter-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.zae9defooter-bottom a:hover {
    color: var(--accent-light);
}

/* 列表页 / 内页 */
.zae9depage-main {
    padding: 2.5rem 0 3.5rem;
    background: var(--bg);
}

.zae9depage-header {
    margin-bottom: 1.75rem;
}

.zae9depage-header h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.zae9depage-header p {
    color: var(--text-muted);
    margin: 0;
}

.zae9decontent-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.zae9decontent-card .card-body {
    padding: 1.5rem;
}

.zae9desidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.zae9desidebar-card .card-body {
    padding: 1.25rem;
}

.zae9desidebar-card h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-alt);
}

.zae9dearticle-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.zae9dearticle-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.zae9dethumb-list,
.zae9dethumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: var(--radius);
}

.zae9dethumb-side {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
}

.zae9dethumb-cover {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
}

.zae9demeta-tags .zae9detagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--bg-alt);
    border-radius: 6px;
    font-size: 0.85rem;
    margin: 0.15rem;
}

/* 分页 */
.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;
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Bootstrap 覆盖 */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

/* 移动端 */
@media (max-width: 991px) {
    .zae9desection {
        padding: 3.5rem 0;
    }

    .zae9defooter .row > div {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 767px) {
    .zae9desection {
        padding: 2.75rem 0;
    }

    .zae9depanel {
        padding: 1.25rem;
    }

    .zae9deintro-block {
        padding: 1.25rem;
    }

    .zae9dethumb-home {
        height: 96px;
    }

    .zae9dearticle-title {
        font-size: 0.88rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .zae9decontent-card .card-body,
    .zae9desidebar-card .card-body {
        padding: 1rem;
    }

    .listbox .e2 li h2.h5 {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .listbox .e2 li p {
        font-size: 0.88rem;
    }

    .zae9dethumb-list,
    .zae9dethumb-related {
        height: 72px;
    }

    .zae9dethumb-side {
        height: 50px;
    }

    .zae9dethumb-cover {
        max-height: 200px;
    }

    .zae9depage-main {
        padding: 1.75rem 0 2.5rem;
    }
}

@media (max-width: 575px) {
    .zae9dethumb-home {
        height: 88px;
    }

    .zae9dethumb-list,
    .zae9dethumb-related {
        height: 64px;
    }

    .zae9destat-item {
        padding: 0.5rem 0.25rem;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }
}
