/* 优途加速器官网 — 全新主题：深青 + 琥珀 */
:root {
    --yt-primary: #0f766e;
    --yt-primary-dark: #115e59;
    --yt-accent: #ea580c;
    --yt-accent-soft: #ffedd5;
    --yt-bg: #f0fdfa;
    --yt-surface: #ffffff;
    --yt-text: #134e4a;
    --yt-text-muted: #5f7a78;
    --yt-border: rgba(15, 118, 110, 0.14);
    --yt-radius: 14px;
    --yt-radius-lg: 20px;
    --yt-shadow: 0 8px 28px rgba(15, 118, 110, 0.08);
    --yt-shadow-hover: 0 14px 36px rgba(15, 118, 110, 0.14);
    --yt-nav-h: 68px;
    --yt-transition: 0.25s ease;
}

*,
*::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(--yt-text);
    line-height: 1.65;
    background: var(--yt-bg);
    margin: 0;
    overflow-x: hidden;
}

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-accent);
}

/* —— 导航 —— */
.z6875fnavbar,
.yt-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--yt-border);
    padding: 0.65rem 0;
    box-shadow: none;
}

.z6875fnavbar-brand img,
.z6875ffooter-brand img {
    height: 42px;
    width: auto;
}

.z6875fnav-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);
}

.z6875fnav-link:hover,
.z6875fnav-link.active {
    color: var(--yt-primary) !important;
    background: rgba(15, 118, 110, 0.08);
}

.navbar-toggler {
    border: 1px solid var(--yt-border);
    padding: 0.4rem 0.55rem;
}

.navbar-collapse {
    background: var(--yt-surface);
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent;
    }
}

/* —— 按钮 —— */
.yt-btn-primary,
.z6875fbtn.yt-btn-primary,
.btn.yt-btn-primary {
    background: linear-gradient(135deg, var(--yt-primary), var(--yt-primary-dark));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: transform var(--yt-transition), box-shadow var(--yt-transition);
}

.yt-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.28);
}

.yt-btn-outline,
.btn.yt-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.3rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.yt-hero .yt-btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
}

.yt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.yt-btn-accent {
    background: var(--yt-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.7rem 1.35rem;
}

.yt-btn-accent:hover {
    background: #c2410c;
    color: #fff;
}

.yt-section .yt-btn-outline {
    border-color: var(--yt-primary);
    color: var(--yt-primary);
}

.yt-section .yt-btn-outline:hover {
    background: var(--yt-primary);
    color: #fff;
}

/* —— Hero —— */
.z6875fhero-section,
.yt-hero {
    background: linear-gradient(145deg, #0f766e 0%, #134e4a 55%, #115e59 100%);
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
}

.yt-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    top: -20%;
    width: 50%;
    height: 140%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.z6875fhero-content {
    position: relative;
    z-index: 1;
}

.yt-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
}

.z6875fhero-title,
.yt-hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.z6875fhero-subtitle,
.yt-hero-lead {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.92;
    margin-bottom: 1.5rem;
    max-width: 36rem;
}

.yt-hero-lead strong {
    color: #fef3c7;
    font-weight: 600;
}

.z6875fhero-buttons,
.yt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.yt-hero-note {
    font-size: 0.88rem;
    opacity: 0.85;
    margin: 0;
}

.yt-hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.yt-hero-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--yt-radius-lg);
    padding: 1.25rem;
    max-width: 320px;
    width: 100%;
}

.z6875fhero-image {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
}

.z6875fhero-image-shadow {
    display: none;
}

/* —— 通用区块 —— */
.yt-section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.yt-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.yt-section-head h2 {
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--yt-primary-dark);
    margin-bottom: 0.65rem;
}

.yt-section-head p {
    color: var(--yt-text-muted);
    margin: 0;
    font-size: 0.98rem;
}

.yt-panel {
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--yt-shadow);
    height: 100%;
    overflow: hidden;
    transition: box-shadow var(--yt-transition), transform var(--yt-transition);
}

.yt-panel:hover {
    box-shadow: var(--yt-shadow-hover);
}

.yt-muted {
    color: var(--yt-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* —— 产品优势 —— */
.yt-features {
    background: var(--yt-surface);
}

.yt-panel-feature h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.75rem 0 0.5rem;
    color: var(--yt-primary-dark);
}

.yt-panel-feature p {
    font-size: 0.92rem;
    color: var(--yt-text-muted);
    margin: 0;
}

.yt-panel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--yt-accent-soft);
    color: var(--yt-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* —— 数据条 —— */
.z6875fstats-section,
.yt-stats {
    background: linear-gradient(90deg, var(--yt-primary-dark), var(--yt-primary));
    color: #fff;
    padding: 2.25rem 0;
}

.yt-stat {
    padding: 0.5rem;
}

.z6875fstat-number,
.yt-stat-num {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.z6875fstat-label,
.yt-stat-label {
    font-size: 0.88rem;
    opacity: 0.88;
}

/* —— 下载 —— */
.z6875fdownload-section,
.yt-download {
    background: var(--yt-bg);
}

.yt-download-card {
    display: flex;
    flex-direction: column;
}

.yt-download-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.yt-download-head h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--yt-primary-dark);
}

.yt-platform-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.yt-icon-pc {
    background: #dbeafe;
    color: #1d4ed8;
}

.yt-icon-mobile {
    background: #dcfce7;
    color: #15803d;
}

.yt-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.yt-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--yt-text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.yt-checklist i {
    color: var(--yt-primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.yt-knowledge {
    padding: 1.25rem 1.5rem;
}

.yt-knowledge h3 {
    color: var(--yt-primary-dark);
}

.yt-knowledge p {
    font-size: 0.9rem;
    color: var(--yt-text-muted);
    line-height: 1.6;
}

/* —— 安全 —— */
.z6875fsecurity-section,
.yt-security {
    background: var(--yt-surface);
}

.yt-security-item {
    text-align: center;
    padding: 1.25rem 1rem;
}

.yt-sec-icon {
    font-size: 1.6rem;
    color: var(--yt-primary);
    margin-bottom: 0.65rem;
    display: block;
}

.yt-security-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: var(--yt-primary-dark);
}

.yt-security-item p {
    font-size: 0.85rem;
    color: var(--yt-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* —— FAQ —— */
.yt-faq {
    background: var(--yt-bg);
}

.yt-faq-item h3 {
    color: var(--yt-primary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.yt-faq-item p {
    font-size: 0.9rem;
    color: var(--yt-text-muted);
    line-height: 1.6;
}

/* —— 文章列表（首页） —— */
.yt-articles {
    background: var(--yt-surface);
    border-top: 1px solid var(--yt-border);
}

.yt-articles h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--yt-primary-dark);
}

.yt-article-card {
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow var(--yt-transition);
}

.yt-article-card:hover {
    box-shadow: var(--yt-shadow);
}

.yt-article-card .card-body {
    padding: 0.85rem 1rem;
}

.z6875fthumb-home {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.yt-article-link {
    color: var(--yt-text);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.yt-article-link:hover {
    color: var(--yt-primary);
}

/* —— 页脚 —— */
.z6875ffooter,
.yt-footer {
    background: #134e4a;
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0 1.5rem;
}

.yt-footer-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.z6875ffooter-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.z6875ffooter-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.z6875ffooter-links li {
    margin-bottom: 0.5rem;
}

.z6875ffooter-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.z6875ffooter-link:hover {
    color: var(--yt-accent-soft);
}

.yt-friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.yt-friend-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

.yt-friend-links a:hover {
    color: #fff;
}

.z6875ffooter-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.88rem;
}

.z6875ffooter-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.z6875ffooter-bottom a:hover {
    color: #fff;
}

/* —— 列表页 / 内页 —— */
.yt-inner-page {
    padding: 2rem 0 3rem;
    min-height: calc(100vh - var(--yt-nav-h) - 120px);
}

.yt-page-header {
    margin-bottom: 1.5rem;
}

.yt-page-header h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--yt-primary-dark);
    margin-bottom: 0.35rem;
}

.yt-page-header p {
    color: var(--yt-text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.yt-content-card {
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    background: var(--yt-surface);
    box-shadow: var(--yt-shadow);
    overflow: hidden;
}

.yt-content-card .card-body {
    padding: 1.25rem 1.5rem;
}

.yt-sidebar-card {
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    background: var(--yt-surface);
    box-shadow: var(--yt-shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.yt-sidebar-card .card-body {
    padding: 1.15rem 1.25rem;
}

.yt-sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--yt-primary-dark);
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--yt-accent-soft);
}

.yt-sidebar-card ul li a {
    color: var(--yt-text);
    font-size: 0.92rem;
}

.yt-sidebar-card ul li a:hover {
    color: var(--yt-primary);
}

.listbox .e2 li {
    border-color: var(--yt-border) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1rem !important;
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.listbox .e2 h2.h5 a {
    color: var(--yt-text);
    font-weight: 600;
}

.listbox .e2 h2.h5 a:hover {
    color: var(--yt-primary);
}

.z6875fthumb-list,
.z6875fthumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.z6875fthumb-side {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.z6875fthumb-cover {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--yt-radius);
}

.z6875farticle-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--yt-text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.z6875farticle-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.z6875fmeta-tags .z6875ftagitem 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.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
    margin: 0;
}

/* —— 响应式 —— */
@media (max-width: 991px) {
    .z6875fnavbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border-radius: var(--yt-radius);
        border: 1px solid var(--yt-border);
        max-height: 70vh;
        overflow-y: auto;
    }

    .yt-footer .row > div {
        text-align: center;
    }

    .yt-friend-links {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .z6875fhero-buttons,
    .yt-hero-actions {
        flex-direction: column;
    }

    .z6875fhero-buttons .btn,
    .yt-hero-actions .btn {
        width: 100%;
    }

    .yt-download-head {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .yt-panel {
        padding: 1.1rem 1.15rem;
    }

    .yt-security-item {
        padding: 1rem 0.75rem;
    }

    .z6875fthumb-home {
        height: 96px;
    }

    .z6875fthumb-list,
    .z6875fthumb-related {
        height: 72px;
    }

    .z6875fthumb-side {
        height: 50px;
    }

    .z6875fthumb-cover {
        max-height: 200px;
    }

    .yt-content-card .card-body,
    .yt-sidebar-card .card-body {
        padding: 1rem;
    }

    .listbox .e2 .row {
        --bs-gutter-x: 0.75rem;
    }

    .listbox .e2 h2.h5 {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .listbox .e2 p {
        font-size: 0.88rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 575px) {
    .z6875fnavbar-brand img {
        height: 36px;
    }

    .yt-stat-num {
        font-size: 1.35rem;
    }

    .z6875fthumb-home {
        height: 88px;
    }

    .z6875fthumb-list,
    .z6875fthumb-related {
        height: 64px;
    }

    .yt-articles .row-cols-lg-5 {
        --bs-columns: 2;
    }
}

/* 兼容旧类名，避免 Bootstrap 冲突 */
.z6875ffeature-card,
.z6875fdownload-card,
.z6875fsecurity-card {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.card.z6875ffeature-card:hover,
.z6875fdownload-card:hover {
    transform: none;
}

.bg-light {
    background: var(--yt-bg) !important;
}
