/* AVE 官网主题 — 深青 + 珊瑚强调色 */
:root {
    --ave-primary: #0b6e6e;
    --ave-primary-dark: #064f4f;
    --ave-accent: #e85d3a;
    --ave-accent-hover: #d14a28;
    --ave-bg: #f4f7f6;
    --ave-surface: #ffffff;
    --ave-text: #1a2e2e;
    --ave-muted: #5c7373;
    --ave-border: rgba(11, 110, 110, 0.12);
    --ave-radius: 12px;
    --ave-radius-lg: 20px;
    --ave-shadow: 0 4px 24px rgba(6, 79, 79, 0.08);
    --ave-transition: 0.25s ease;
}

*,
*::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(--ave-text);
    line-height: 1.65;
    background: var(--ave-bg);
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ave-primary);
    text-decoration: none;
    transition: color var(--ave-transition);
}

a:hover {
    color: var(--ave-accent);
}

/* —— 导航 —— */
.zbb32cnavbar {
    background: var(--ave-surface);
    border-bottom: 1px solid var(--ave-border);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.zbb32cnavbar .navbar-toggler {
    border: 1px solid var(--ave-border);
    padding: 0.4rem 0.55rem;
}

.zbb32cnavbar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(11, 110, 110, 0.2);
}

.zbb32cnavbar-brand img {
    height: 42px;
    width: auto;
}

.zbb32cnav-link {
    color: var(--ave-text) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.45rem 0.75rem !important;
    border-radius: 8px;
    transition: background var(--ave-transition), color var(--ave-transition);
}

.zbb32cnav-link:hover {
    color: var(--ave-primary) !important;
    background: rgba(11, 110, 110, 0.06);
}

.zbb32cnavbar .navbar-collapse {
    background: var(--ave-surface);
}

@media (max-width: 991px) {
    .zbb32cnavbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.5rem 0 0.75rem;
        max-height: 70vh;
        overflow-y: auto;
        border-top: 1px solid var(--ave-border);
    }

    .zbb32cnav-link {
        padding: 0.5rem 0.25rem !important;
    }
}

/* —— 容器 —— */
.zbb32ccontainer {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* —— 区块标题 —— */
.zbb32csection-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.zbb32csection-head h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--ave-primary-dark);
    margin-bottom: 0.5rem;
}

.zbb32csection-head p {
    color: var(--ave-muted);
    margin: 0;
    font-size: 1rem;
}

.zbb32csection-head-light h2,
.zbb32csection-head-light p {
    color: #fff;
}

.zbb32csection-head-light p {
    opacity: 0.88;
}

/* —— Hero —— */
.zbb32chero-section {
    background: linear-gradient(145deg, var(--ave-primary-dark) 0%, var(--ave-primary) 55%, #0d8585 100%);
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
}

.zbb32chero-section::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(232, 93, 58, 0.12);
    top: -120px;
    right: -80px;
    pointer-events: none;
}

.zbb32chero-content {
    position: relative;
    z-index: 1;
}

.zbb32chero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    margin-bottom: 1rem;
}

.zbb32chero-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.zbb32chero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    opacity: 0.92;
    max-width: 540px;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.zbb32chero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.zbb32chero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.zbb32chero-image {
    max-width: 280px;
    width: 100%;
    border-radius: var(--ave-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* —— 按钮 —— */
.zbb32cbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: transform var(--ave-transition), box-shadow var(--ave-transition), background var(--ave-transition);
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.zbb32cbtn-accent {
    background: var(--ave-accent);
    color: #fff !important;
    border-color: var(--ave-accent);
}

.zbb32cbtn-accent:hover {
    background: var(--ave-accent-hover);
    border-color: var(--ave-accent-hover);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 58, 0.35);
}

.zbb32cbtn-outline {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.7);
}

.zbb32cbtn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border-color: #fff;
}

.zbb32cdownload-section .zbb32cbtn-outline {
    color: var(--ave-primary) !important;
    border-color: var(--ave-primary);
    background: transparent;
}

.zbb32cdownload-section .zbb32cbtn-outline:hover {
    background: var(--ave-primary);
    color: #fff !important;
}

.zbb32cbtn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-color: transparent;
}

.zbb32cbtn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

/* —— 简介 —— */
.zbb32cintro-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--ave-surface);
}

.zbb32cintro-card {
    height: 100%;
    padding: 1.5rem 1.75rem;
    background: var(--ave-bg);
    border: 1px solid var(--ave-border);
    border-radius: var(--ave-radius);
    overflow: hidden;
}

.zbb32cintro-card h3 {
    font-size: 1.15rem;
    color: var(--ave-primary-dark);
    margin-bottom: 0.75rem;
}

.zbb32cintro-card p {
    margin: 0;
    color: var(--ave-muted);
    font-size: 0.95rem;
}

/* —— Bento 优势 —— */
.zbb32cfeatures-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.zbb32cbento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.zbb32cbento-item {
    background: var(--ave-surface);
    border: 1px solid var(--ave-border);
    border-radius: var(--ave-radius);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--ave-shadow);
    overflow: hidden;
    transition: border-color var(--ave-transition), transform var(--ave-transition);
}

.zbb32cbento-item:hover {
    border-color: rgba(11, 110, 110, 0.25);
    transform: translateY(-2px);
}

.zbb32cbento-large {
    grid-column: span 2;
}

.zbb32cbento-wide {
    grid-column: span 2;
}

.zbb32cbento-icon {
    font-size: 1.5rem;
    color: var(--ave-accent);
    margin-bottom: 0.65rem;
    display: block;
}

.zbb32cbento-item h3 {
    font-size: 1.05rem;
    color: var(--ave-primary-dark);
    margin-bottom: 0.5rem;
}

.zbb32cbento-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ave-muted);
}

@media (min-width: 768px) {
    .zbb32cbento-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .zbb32cbento-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .zbb32cbento-wide {
        grid-column: span 2;
    }
}

/* —— 统计 —— */
.zbb32cstats-section {
    padding: 0;
    background: var(--ave-primary-dark);
}

.zbb32cstats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 1rem 0;
    padding: 2rem 1rem;
    color: #fff;
}

.zbb32cstat-item {
    text-align: center;
    flex: 1 1 40%;
    min-width: 120px;
    padding: 0.5rem;
}

.zbb32cstat-item strong {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.zbb32cstat-item span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.zbb32cstat-divider {
    display: none;
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .zbb32cstat-item {
        flex: 1;
    }

    .zbb32cstat-divider {
        display: block;
    }
}

/* —— 下载 —— */
.zbb32cdownload-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--ave-bg);
}

.zbb32cdl-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--ave-surface);
    border: 1px solid var(--ave-border);
    border-radius: var(--ave-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--ave-shadow);
    overflow: hidden;
}

.zbb32cdl-featured {
    border-color: var(--ave-accent);
    box-shadow: 0 8px 32px rgba(232, 93, 58, 0.15);
}

.zbb32cdl-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    background: var(--ave-accent);
    color: #fff;
    border-radius: 6px;
}

.zbb32cdl-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.zbb32cdl-android { background: #3ddc84; }
.zbb32cdl-app { background: var(--ave-primary); }
.zbb32cdl-pc { background: #0078d4; }

.zbb32cdl-card h3 {
    font-size: 1.1rem;
    color: var(--ave-primary-dark);
    margin-bottom: 0.5rem;
}

.zbb32cdl-desc {
    font-size: 0.88rem;
    color: var(--ave-muted);
    margin-bottom: 0.75rem;
    flex-grow: 0;
}

.zbb32cdl-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 0.85rem;
    color: var(--ave-muted);
    flex-grow: 1;
}

.zbb32cdl-list li {
    padding: 0.25rem 0 0.25rem 1.1rem;
    position: relative;
}

.zbb32cdl-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ave-primary);
    font-weight: 700;
    font-size: 0.75rem;
}

.zbb32cdl-note {
    margin: 2rem 0 0;
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
    color: var(--ave-muted);
    background: var(--ave-surface);
    border: 1px solid var(--ave-border);
    border-radius: var(--ave-radius);
    line-height: 1.6;
}

/* —— 安全 —— */
.zbb32csecurity-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(160deg, var(--ave-primary-dark), var(--ave-primary));
}

.zbb32csec-card {
    height: 100%;
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--ave-radius);
    color: #fff;
    overflow: hidden;
}

.zbb32csec-card i {
    font-size: 1.5rem;
    color: var(--ave-accent);
    margin-bottom: 0.65rem;
    display: block;
}

.zbb32csec-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.zbb32csec-card p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.88;
    line-height: 1.5;
}

/* —— 知识 —— */
.zbb32cknowledge-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--ave-surface);
}

.zbb32cknow-card {
    height: 100%;
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--ave-border);
    border-radius: var(--ave-radius);
    background: var(--ave-bg);
    overflow: hidden;
}

.zbb32cknow-card h4 {
    font-size: 1rem;
    color: var(--ave-primary-dark);
    margin-bottom: 0.6rem;
}

.zbb32cknow-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ave-muted);
}

/* —— FAQ —— */
.zbb32cfaq-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.zbb32cfaq-card {
    height: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--ave-surface);
    border: 1px solid var(--ave-border);
    border-radius: var(--ave-radius);
    box-shadow: var(--ave-shadow);
    overflow: hidden;
}

.zbb32cfaq-card h5 {
    font-size: 1rem;
    color: var(--ave-primary-dark);
    margin-bottom: 0.5rem;
}

.zbb32cfaq-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ave-muted);
}

/* —— 文章 —— */
.zbb32carticle-section {
    padding: clamp(3rem, 6vw, 4rem) 0;
    background: var(--ave-bg);
}

.zbb32carticle-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.zbb32carticle-header h2 {
    font-size: 1.5rem;
    color: var(--ave-primary-dark);
    margin: 0;
}

.zbb32cnews-card {
    height: 100%;
    background: var(--ave-surface);
    border: 1px solid var(--ave-border);
    border-radius: var(--ave-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--ave-transition);
}

.zbb32cnews-card:hover {
    box-shadow: var(--ave-shadow);
}

.zbb32cnews-thumb {
    display: block;
    overflow: hidden;
}

.zbb32cthumb-home {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.zbb32cnews-body {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zbb32cnews-meta {
    font-size: 0.72rem;
    color: var(--ave-muted);
    margin-bottom: 0.35rem;
}

.zbb32cnews-body h3 {
    font-size: 0.88rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.zbb32cnews-body h3 a {
    color: var(--ave-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zbb32cnews-body h3 a:hover {
    color: var(--ave-primary);
}

/* —— 页脚 —— */
.zbb32cfooter {
    background: var(--ave-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.zbb32cfooter h5 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.zbb32cfooter-desc {
    font-size: 0.88rem;
    margin-top: 0.75rem;
    opacity: 0.8;
    line-height: 1.6;
}

.zbb32cfooter-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zbb32cfooter-links li {
    margin-bottom: 0.45rem;
}

.zbb32cfooter-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.zbb32cfooter-links a:hover {
    color: var(--ave-accent);
}

.zbb32cfriend-wrap {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.zbb32cfriend-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.zbb32cfriend-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.zbb32cfooter-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.85rem;
}

.zbb32cfooter-bottom p {
    margin: 0.35rem 0;
}

.zbb32cfooter-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

/* —— 列表页 / 内页 —— */
.zbb32cpage-section {
    padding: 2rem 0 3rem;
    min-height: 50vh;
}

.zbb32cpage-section .card {
    border: 1px solid var(--ave-border);
    border-radius: var(--ave-radius);
    overflow: hidden;
    box-shadow: var(--ave-shadow);
}

.zbb32cpage-section .card-body {
    padding: 1.25rem 1.5rem;
}

.zbb32cpage-title {
    font-size: 1.35rem;
    color: var(--ave-primary-dark);
    margin-bottom: 0.35rem;
}

.zbb32cpage-desc {
    color: var(--ave-muted);
    font-size: 0.95rem;
    margin: 0;
}

.zbb32carticle-content {
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.zbb32carticle-content img {
    max-width: 100%;
    height: auto;
}

.zbb32cmeta-tags .zbb32ctagitem a {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--ave-bg);
    border-radius: 6px;
    font-size: 0.85rem;
}

.zbb32cthumb-list,
.zbb32cthumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.zbb32cthumb-side {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.zbb32cthumb-cover {
    max-width: 100%;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--ave-radius);
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 分页 */
.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;
}

/* —— 移动端 —— */
@media (max-width: 767px) {
    .zbb32chero-section {
        padding: 2.5rem 0 2rem;
    }

    .zbb32chero-buttons {
        flex-direction: column;
    }

    .zbb32chero-buttons .zbb32cbtn {
        width: 100%;
    }

    .zbb32chero-visual {
        margin-top: 0.5rem;
    }

    .zbb32chero-image {
        max-width: 220px;
    }

    .zbb32cbento-grid {
        grid-template-columns: 1fr;
    }

    .zbb32cbento-large,
    .zbb32cbento-wide {
        grid-column: span 1;
    }

    .zbb32cstat-item {
        flex: 1 1 45%;
    }

    .zbb32cdl-card {
        padding: 1.25rem;
    }

    .zbb32csec-card {
        padding: 1rem 0.75rem;
    }

    .zbb32csec-card p {
        font-size: 0.75rem;
    }

    .zbb32cintro-card,
    .zbb32cknow-card,
    .zbb32cfaq-card {
        padding: 1.15rem;
    }

    .zbb32cthumb-home {
        height: 88px;
    }

    .zbb32cnews-body h3 {
        font-size: 0.82rem;
    }

    .zbb32carticle-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .zbb32cpage-section .card-body {
        padding: 1rem;
    }

    .zbb32cthumb-list,
    .zbb32cthumb-related {
        height: 72px;
    }

    .zbb32cthumb-side {
        height: 48px;
    }

    .zbb32cthumb-cover {
        height: 160px;
    }

    .listbox .e2 li h2.h5 {
        font-size: 0.95rem;
    }

    .listbox .e2 li p {
        font-size: 0.85rem;
    }

    .zbb32cfooter .row > div {
        text-align: center;
    }

    .zbb32cfriend-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .zbb32ccontainer {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .zbb32cnavbar-brand img {
        height: 36px;
    }

    .zbb32cstat-item strong {
        font-size: 1.35rem;
    }

    .zbb32cdl-tag {
        top: 0.75rem;
        right: 0.75rem;
    }

    .zbb32cthumb-home {
        height: 80px;
    }

    .zbb32cthumb-list,
    .zbb32cthumb-related {
        height: 64px;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }
}

/* Bootstrap 覆盖：避免全局 btn 圆角冲突 */
.zbb32cdownload-section .btn,
.zbb32carticle-header .btn {
    border-radius: 10px;
}
