/* 优途加速器 - 官网主题（青绿 + 琥珀强调色） */
:root {
    --yt-primary: #1a6b5c;
    --yt-primary-dark: #0f4a40;
    --yt-accent: #e8a838;
    --yt-accent-hover: #d49220;
    --yt-bg: #f4f7f6;
    --yt-surface: #ffffff;
    --yt-text: #1e2d2a;
    --yt-muted: #5c6f6a;
    --yt-border: #d4e0dc;
    --yt-radius: 12px;
    --yt-radius-lg: 20px;
    --yt-shadow: 0 4px 24px rgba(26, 107, 92, 0.08);
    --yt-shadow-hover: 0 8px 32px rgba(26, 107, 92, 0.12);
    --yt-transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.yt-site,
body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--yt-text);
    line-height: 1.65;
    background: var(--yt-bg);
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--yt-primary);
    text-decoration: none;
    transition: color var(--yt-transition);
}

a:hover {
    color: var(--yt-primary-dark);
}

/* 导航 */
.z213ccnavbar {
    background: var(--yt-surface);
    border-bottom: 1px solid var(--yt-border);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.z213ccnavbar-brand img {
    height: 42px;
    width: auto;
}

.z213ccnav-link {
    color: var(--yt-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: background var(--yt-transition), color var(--yt-transition);
}

.z213ccnav-link:hover {
    color: var(--yt-primary) !important;
    background: rgba(26, 107, 92, 0.08);
}

.navbar-toggler {
    border: 1px solid var(--yt-border);
    padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(26, 107, 92, 0.25);
}

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border: 1px solid var(--yt-border);
        border-radius: var(--yt-radius);
        background: var(--yt-surface);
        max-height: 70vh;
        overflow-y: auto;
    }

    .z213ccnav-link {
        padding: 0.5rem 0.25rem !important;
    }
}

/* 按钮 */
.z213ccbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: transform var(--yt-transition), box-shadow var(--yt-transition), background var(--yt-transition);
    white-space: normal;
    text-align: center;
}

.z213ccbtn-accent {
    background: var(--yt-accent);
    color: var(--yt-primary-dark);
}

.z213ccbtn-accent:hover {
    background: var(--yt-accent-hover);
    color: var(--yt-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--yt-shadow-hover);
}

.z213ccbtn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.z213ccbtn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.z213ccbtn-primary {
    background: var(--yt-primary);
    color: #fff;
}

.z213ccbtn-primary:hover {
    background: var(--yt-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--yt-shadow-hover);
}

.z213ccbtn-outline-sm {
    background: transparent;
    color: var(--yt-primary);
    border: 1px solid var(--yt-primary);
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
}

.z213ccbtn-outline-sm:hover {
    background: var(--yt-primary);
    color: #fff;
}

/* 英雄区 */
.z213cchero-section {
    background: linear-gradient(145deg, var(--yt-primary-dark) 0%, var(--yt-primary) 55%, #2a8f7a 100%);
    color: #fff;
    padding: 4rem 0 4.5rem;
    overflow: hidden;
}

.z213cchero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(232, 168, 56, 0.25);
    color: var(--yt-accent);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    border: 1px solid rgba(232, 168, 56, 0.4);
}

.z213cchero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.z213cchero-subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 1.75rem;
    max-width: 36rem;
}

.z213cchero-subtitle strong {
    color: var(--yt-accent);
    font-weight: 600;
}

.z213cchero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.z213cchero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.z213cchero-image {
    max-width: 280px;
    width: 100%;
    border-radius: var(--yt-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
    .z213cchero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .z213cchero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .z213cchero-buttons {
        justify-content: center;
    }

    .z213cchero-visual {
        margin-top: 1.5rem;
    }

    .z213cchero-image {
        max-width: 220px;
    }
}

@media (max-width: 575px) {
    .z213cchero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .z213cchero-buttons .z213ccbtn {
        width: 100%;
    }
}

/* 通用区块 */
.z213ccsection {
    padding: 4rem 0;
}

.z213ccsection-head {
    margin-bottom: 2.5rem;
    max-width: 640px;
}

.z213ccsection-head.z213cctext-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.z213ccsection-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--yt-primary-dark);
    margin-bottom: 0.75rem;
}

.z213ccsection-head p {
    color: var(--yt-muted);
    margin: 0;
    font-size: 1rem;
}

/* Bento 特点区 */
.z213ccfeatures-section {
    background: var(--yt-surface);
}

.z213ccbento-card {
    background: var(--yt-bg);
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    padding: 1.5rem;
    height: 100%;
    transition: border-color var(--yt-transition), box-shadow var(--yt-transition);
    overflow: hidden;
}

.z213ccbento-card:hover {
    border-color: var(--yt-primary);
    box-shadow: var(--yt-shadow);
}

.z213ccbento-icon {
    font-size: 1.5rem;
    color: var(--yt-primary);
    margin-bottom: 1rem;
    display: block;
}

.z213ccbento-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--yt-primary-dark);
}

.z213ccbento-card p {
    font-size: 0.92rem;
    color: var(--yt-muted);
    margin: 0;
    line-height: 1.6;
}

.z213ccbento-large {
    background: linear-gradient(135deg, rgba(26, 107, 92, 0.08), rgba(232, 168, 56, 0.06));
}

/* 数据统计 */
.z213ccstats-section {
    background: var(--yt-primary-dark);
    color: #fff;
    padding: 3rem 0;
}

.z213ccstat-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--yt-radius);
    height: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.z213ccstat-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--yt-accent);
    line-height: 1.2;
}

.z213ccstat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.35rem;
}

/* 下载区 */
.z213ccdownload-section {
    background: var(--yt-bg);
}

.z213ccdownload-card {
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--yt-shadow);
    overflow: hidden;
}

.z213ccdownload-card-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--yt-border);
}

.z213ccdownload-card-head h3 {
    font-size: 1.15rem;
    margin: 0 0 0.25rem;
    color: var(--yt-primary-dark);
}

.z213ccdownload-card-head p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--yt-muted);
}

.z213ccplatform-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.z213ccicon-pc {
    background: linear-gradient(135deg, #3d7ea6, #2a5f7a);
}

.z213ccicon-mobile {
    background: linear-gradient(135deg, #4caf7a, #2d8f5c);
}

.z213ccdownload-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.z213ccdownload-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--yt-muted);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.z213ccdownload-list li i {
    color: var(--yt-primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.z213ccdownload-note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--yt-muted);
    margin: 2rem 0 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .z213ccdownload-card {
        padding: 1.25rem;
    }

    .z213ccdownload-card-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 安全区 */
.z213ccsecurity-section {
    background: var(--yt-surface);
}

.z213ccsecurity-card {
    background: var(--yt-bg);
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    padding: 1.5rem;
    height: 100%;
    min-height: 160px;
    text-align: center;
    transition: box-shadow var(--yt-transition);
}

.z213ccsecurity-card:hover {
    box-shadow: var(--yt-shadow);
}

.z213ccsecurity-card i {
    font-size: 1.75rem;
    color: var(--yt-primary);
    margin-bottom: 0.75rem;
}

.z213ccsecurity-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--yt-primary-dark);
}

.z213ccsecurity-card p {
    font-size: 0.88rem;
    color: var(--yt-muted);
    margin: 0;
}

/* 知识介绍 */
.z213ccknowledge-section {
    padding: 3rem 0;
}

.z213ccknowledge-panel {
    background: linear-gradient(135deg, rgba(26, 107, 92, 0.06), rgba(232, 168, 56, 0.05));
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius-lg);
    padding: 2rem 2.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.z213ccknowledge-panel h2 {
    font-size: 1.35rem;
    color: var(--yt-primary-dark);
    margin-bottom: 1rem;
}

.z213ccknowledge-panel p {
    color: var(--yt-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.z213ccknowledge-panel p:last-child {
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .z213ccknowledge-panel {
        padding: 1.25rem;
    }
}

/* FAQ */
.z213ccfaq-section {
    background: var(--yt-bg);
}

.z213ccfaq-card {
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    padding: 1.35rem 1.5rem;
    height: 100%;
}

.z213ccfaq-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--yt-primary-dark);
    margin-bottom: 0.5rem;
}

.z213ccfaq-card p {
    font-size: 0.9rem;
    color: var(--yt-muted);
    margin: 0;
    line-height: 1.6;
}

/* 文章区 */
.z213ccarticle-section {
    background: var(--yt-surface);
    border-top: 1px solid var(--yt-border);
}

.z213ccarticle-section h2 {
    font-size: 1.5rem;
    color: var(--yt-primary-dark);
}

.z213ccarticle-card {
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow var(--yt-transition);
}

.z213ccarticle-card:hover {
    box-shadow: var(--yt-shadow);
}

.z213ccthumb-home {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

.z213ccarticle-card .card-body {
    padding: 0.85rem;
}

.z213ccarticle-meta {
    font-size: 0.75rem;
    color: var(--yt-muted);
    margin-bottom: 0.4rem;
}

.z213ccarticle-card h3 a {
    color: var(--yt-text);
    font-weight: 600;
    line-height: 1.4;
}

.z213ccarticle-card h3 a:hover {
    color: var(--yt-primary);
}

/* 页脚 */
.z213ccfooter {
    background: var(--yt-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.z213ccfooter-desc {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 320px;
}

.z213ccfooter-title {
    color: var(--yt-accent);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.z213ccfooter-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.z213ccfooter-links li {
    margin-bottom: 0.5rem;
}

.z213ccfooter-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.z213ccfooter-link:hover {
    color: var(--yt-accent);
}

.z213ccfriend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.z213ccfriend-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.z213ccfriend-links a:hover {
    color: var(--yt-accent);
}

.z213ccfooter-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
    font-size: 0.85rem;
}

.z213ccfooter-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.z213ccfooter-bottom a:hover {
    color: var(--yt-accent);
}

@media (max-width: 767px) {
    .z213ccfooter {
        text-align: center;
        padding: 2rem 0 1rem;
    }

    .z213ccfooter-desc {
        margin: 0 auto;
    }

    .z213ccfriend-links {
        justify-content: center;
    }
}

/* 列表页 / 内页 */
.z213ccpage-main {
    padding: 2.5rem 0 3rem;
}

.z213ccpage-card {
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    overflow: hidden;
}

.z213ccpage-card .card-body {
    padding: 1.5rem;
}

.z213ccsidebar-card {
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.z213ccsidebar-card .card-body {
    padding: 1.25rem;
}

.z213ccsidebar-card h3 {
    font-size: 1rem;
    color: var(--yt-primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--yt-accent);
}

.z213ccarticle-content {
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.z213ccarticle-content img {
    max-width: 100%;
    height: auto;
}

.z213ccthumb-list,
.z213ccthumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.z213ccthumb-side {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.z213ccthumb-cover {
    max-width: 100%;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--yt-radius);
}

.z213ccmeta-tags .z213cctagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--yt-bg);
    border: 1px solid var(--yt-border);
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

/* 分页 */
.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 {
    border-color: var(--yt-border) !important;
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .z213ccsection {
        padding: 2.75rem 0;
    }

    .z213ccnavbar-brand img {
        height: 36px;
    }

    .z213ccthumb-home {
        height: 96px;
    }

    .z213ccarticle-card h3 {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .z213ccthumb-list,
    .z213ccthumb-related {
        height: 72px;
    }

    .z213ccthumb-side {
        height: 50px;
    }

    .z213ccthumb-cover {
        height: 170px;
    }

    .z213ccpage-card .card-body,
    .z213ccsidebar-card .card-body {
        padding: 1rem;
    }

    .listbox .e2 li h2.h5 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .listbox .e2 li p {
        font-size: 0.88rem;
    }
}

@media (max-width: 575px) {
    .z213ccthumb-home {
        height: 88px;
    }

    .z213ccthumb-list,
    .z213ccthumb-related {
        height: 64px;
    }

    .z213ccthumb-cover {
        height: 150px;
    }

    .z213ccstat-item {
        min-height: 88px;
        padding: 1rem 0.5rem;
    }
}

/* Bootstrap 覆盖 - 保持边框一致 */
.card {
    border-color: var(--yt-border);
}

.bg-light {
    background-color: var(--yt-bg) !important;
}
