:root {
    --pt-primary: #1b5e4f;
    --pt-primary-dark: #134539;
    --pt-accent: #e07a3a;
    --pt-accent-hover: #c9682e;
    --pt-surface: #f4f7f5;
    --pt-surface-alt: #e8efeb;
    --pt-text: #2a3330;
    --pt-text-muted: #5c6b66;
    --pt-border: #c5d4cd;
    --pt-white: #ffffff;
    --pt-radius: 12px;
    --pt-radius-lg: 20px;
    --pt-shadow: 0 4px 24px rgba(27, 94, 79, 0.08);
    --pt-shadow-hover: 0 8px 32px rgba(27, 94, 79, 0.12);
    --pt-nav-h: 72px;
    --pt-transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--pt-text);
    line-height: 1.65;
    background: var(--pt-white);
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--pt-primary);
    text-decoration: none;
    transition: color var(--pt-transition);
}

a:hover {
    color: var(--pt-accent);
}

/* ========== 导航 ========== */
.z7263fnavbar.pt-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pt-border);
    padding: 0.65rem 0;
    box-shadow: none;
}

.z7263fnavbar-brand img {
    height: 42px;
    width: auto;
}

.z7263fnav-link {
    color: var(--pt-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: background var(--pt-transition), color var(--pt-transition);
}

.z7263fnav-link:hover {
    color: var(--pt-primary) !important;
    background: var(--pt-surface);
}

.navbar-toggler {
    border: 1px solid var(--pt-border);
    padding: 0.4rem 0.55rem;
}

.navbar-collapse {
    background: var(--pt-white);
}

/* ========== 首页 Hero ========== */
.pt-hero.z7263fhero-section {
    background: linear-gradient(145deg, var(--pt-primary-dark) 0%, var(--pt-primary) 55%, #2a7a68 100%);
    color: var(--pt-white);
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    overflow: hidden;
}

.pt-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.pt-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.pt-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1rem;
}

.pt-hero-lead {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.92;
    margin: 0 0 1.75rem;
    max-width: 36em;
}

.pt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pt-hero-visual {
    display: flex;
    justify-content: center;
}

.pt-hero-frame {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--pt-radius-lg);
    padding: 1.25rem;
    max-width: 320px;
    width: 100%;
}

.pt-hero-img {
    border-radius: var(--pt-radius);
    width: 100%;
    object-fit: contain;
}

/* ========== 按钮 ========== */
.pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: transform var(--pt-transition), box-shadow var(--pt-transition), background var(--pt-transition);
    white-space: normal;
    text-align: center;
}

.pt-btn:hover {
    transform: translateY(-2px);
}

.pt-btn-light {
    background: var(--pt-white);
    color: var(--pt-primary);
    border-color: var(--pt-white);
}

.pt-btn-accent {
    background: var(--pt-accent);
    color: var(--pt-white);
    border-color: var(--pt-accent);
}

.pt-btn-accent:hover {
    background: var(--pt-accent-hover);
    color: var(--pt-white);
}

.pt-btn-outline {
    background: transparent;
    color: var(--pt-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.pt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--pt-white);
}

.pt-btn-primary {
    background: var(--pt-primary);
    color: var(--pt-white);
    border-color: var(--pt-primary);
}

.pt-btn-primary:hover {
    background: var(--pt-primary-dark);
    color: var(--pt-white);
}

.pt-btn-outline-sm {
    background: transparent;
    color: var(--pt-primary);
    border: 1px solid var(--pt-border);
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

.pt-btn-outline-sm:hover {
    border-color: var(--pt-primary);
    background: var(--pt-surface);
}

/* ========== 通用区块 ========== */
.pt-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.pt-section-head {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.pt-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--pt-primary);
    margin: 0 0 0.75rem;
}

.pt-section-head p {
    color: var(--pt-text-muted);
    margin: 0;
    font-size: 1rem;
}

.pt-section-head-light h2,
.pt-section-head-light p {
    color: var(--pt-white);
}

/* ========== Bento 介绍 ========== */
.pt-intro {
    background: var(--pt-surface);
}

.pt-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.pt-bento-item {
    background: var(--pt-white);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    padding: 1.5rem;
    box-shadow: var(--pt-shadow);
    transition: box-shadow var(--pt-transition), border-color var(--pt-transition);
}

.pt-bento-item:hover {
    box-shadow: var(--pt-shadow-hover);
    border-color: var(--pt-primary);
}

.pt-bento-wide {
    grid-column: span 2;
}

.pt-bento-icon {
    font-size: 1.5rem;
    color: var(--pt-accent);
    margin-bottom: 0.75rem;
}

.pt-bento-item h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--pt-primary);
}

.pt-bento-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--pt-text-muted);
}

/* ========== 优势与数据 ========== */
.pt-advantage {
    background: linear-gradient(160deg, var(--pt-primary) 0%, var(--pt-primary-dark) 100%);
    color: var(--pt-white);
}

.pt-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--pt-radius);
    margin-bottom: 2rem;
}

.pt-metric {
    flex: 1 1 120px;
    text-align: center;
    padding: 0.5rem 1rem;
    min-width: 0;
}

.pt-metric strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.pt-metric span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.pt-metric-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.pt-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.pt-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--pt-radius);
    padding: 1.35rem;
    height: 100%;
}

.pt-card h3 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
}

.pt-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.55;
}

/* ========== 下载区 ========== */
.pt-download.z7263fdownload-section {
    background: var(--pt-white);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.pt-dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.pt-dl-card.z7263fdownload-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--pt-surface);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--pt-shadow);
    transition: border-color var(--pt-transition), box-shadow var(--pt-transition);
    overflow: hidden;
}

.pt-dl-card:hover {
    border-color: var(--pt-primary);
    box-shadow: var(--pt-shadow-hover);
}

.pt-dl-card-featured {
    border-color: var(--pt-accent);
    background: linear-gradient(180deg, #fff9f5 0%, var(--pt-surface) 100%);
}

.pt-dl-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--pt-accent);
    color: var(--pt-white);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.pt-dl-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-right: 3rem;
}

.pt-dl-head h3 {
    font-size: 1.1rem;
    margin: 0 0 0.2rem;
    color: var(--pt-primary);
}

.pt-dl-head p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--pt-text-muted);
}

.pt-dl-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--pt-white);
}

.pt-dl-icon-win { background: #2563eb; }
.pt-dl-icon-and { background: #16a34a; }
.pt-dl-icon-ios { background: #374151; }

.pt-dl-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    flex-grow: 1;
}

.pt-dl-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--pt-text-muted);
}

.pt-dl-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pt-accent);
}

.pt-dl-card .pt-btn {
    margin-top: auto;
    width: 100%;
}

/* ========== 安全 ========== */
.pt-trust.z7263fsecurity-section {
    background: var(--pt-surface);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.pt-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.pt-trust-item.z7263fsecurity-card {
    background: var(--pt-white);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--pt-shadow);
    transition: border-color var(--pt-transition);
}

.pt-trust-item:hover {
    border-color: var(--pt-primary);
}

.pt-trust-item i {
    font-size: 1.75rem;
    color: var(--pt-accent);
    margin-bottom: 0.75rem;
}

.pt-trust-item h3 {
    font-size: 1rem;
    color: var(--pt-primary);
    margin: 0 0 0.5rem;
}

.pt-trust-item p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--pt-text-muted);
    line-height: 1.5;
}

/* ========== FAQ ========== */
.pt-faq {
    background: var(--pt-white);
}

.pt-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.pt-faq-item {
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    padding: 1.35rem 1.5rem;
    background: var(--pt-surface);
    height: 100%;
}

.pt-faq-item h3 {
    font-size: 1rem;
    color: var(--pt-primary);
    margin: 0 0 0.6rem;
    line-height: 1.4;
}

.pt-faq-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--pt-text-muted);
}

/* ========== 文章区 ========== */
.pt-articles {
    background: var(--pt-surface);
}

.pt-articles-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pt-articles-head h2 {
    font-size: 1.5rem;
    color: var(--pt-primary);
    margin: 0;
}

.pt-article-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.pt-article-card {
    background: var(--pt-white);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--pt-transition);
}

.pt-article-card:hover {
    box-shadow: var(--pt-shadow-hover);
}

.pt-article-thumb {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--pt-border);
}

.z7263fthumb-home {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.pt-article-body {
    padding: 0.85rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pt-article-meta {
    font-size: 0.75rem;
    color: var(--pt-text-muted);
    margin-bottom: 0.35rem;
}

.pt-article-body h3 {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.pt-article-body h3 a {
    color: var(--pt-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pt-article-body h3 a:hover {
    color: var(--pt-primary);
}

/* ========== 页脚 ========== */
.z7263ffooter.pt-footer {
    background: var(--pt-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.pt-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pt-footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.75rem;
    max-width: 28em;
}

.pt-footer h5 {
    color: var(--pt-white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.z7263ffooter-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.z7263ffooter-links li {
    margin-bottom: 0.5rem;
}

.z7263ffooter-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.z7263ffooter-links a:hover {
    color: var(--pt-accent);
}

.pt-footer-links-row h5 {
    color: var(--pt-white);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.z7263ffriend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.z7263ffriend-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.z7263ffooter-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.875rem;
}

.z7263ffooter-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.z7263ffooter-bottom a:hover {
    color: var(--pt-accent);
}

/* ========== 列表页 / 内页 ========== */
.pt-inner-page {
    padding: 2rem 0 3rem;
    background: var(--pt-surface);
    min-height: calc(100vh - var(--pt-nav-h) - 120px);
}

.pt-inner-page .card {
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    overflow: hidden;
    box-shadow: var(--pt-shadow);
}

.pt-inner-page .card-body {
    padding: 1.25rem 1.5rem;
}

.z7263farticle-content {
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.z7263farticle-content img {
    max-width: 100%;
    height: auto;
}

.z7263fthumb-list,
.z7263fthumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.pt-side-thumb {
    width: 72px;
    flex: 0 0 72px;
}

.z7263fthumb-side {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.z7263fthumb-cover {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--pt-radius);
}

.listbox .e2 li {
    border-bottom: 1px solid var(--pt-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;
}

.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;
}

.z7263fmeta-tags .z7263ftagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--pt-surface);
    border: 1px solid var(--pt-border);
    border-radius: 6px;
    font-size: 0.85rem;
}

/* ========== 响应式 ========== */
@media (max-width: 1199px) {
    .pt-article-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .pt-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pt-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .pt-hero-actions {
        justify-content: center;
    }

    .pt-bento-wide {
        grid-column: span 1;
    }

    .pt-bento {
        grid-template-columns: 1fr;
    }

    .pt-cards-row {
        grid-template-columns: 1fr;
    }

    .pt-dl-grid {
        grid-template-columns: 1fr;
    }

    .pt-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-article-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pt-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pt-footer-brand {
        grid-column: span 2;
    }

    .pt-metric-divider {
        display: none;
    }

    .pt-metrics {
        gap: 0.5rem;
    }
}

@media (max-width: 767px) {
    .z7263fnavbar.pt-nav {
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border: 1px solid var(--pt-border);
        border-radius: var(--pt-radius);
        max-height: 70vh;
        overflow-y: auto;
    }

    .z7263fnav-link {
        padding: 0.55rem 0.5rem !important;
    }

    .pt-hero-actions {
        flex-direction: column;
    }

    .pt-hero-actions .pt-btn {
        width: 100%;
    }

    .pt-trust-grid,
    .pt-faq-grid {
        grid-template-columns: 1fr;
    }

    .pt-article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pt-footer-brand {
        grid-column: span 1;
    }

    .pt-footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .z7263ffriend-links {
        justify-content: center;
    }

    .pt-dl-head {
        padding-right: 0;
        flex-wrap: wrap;
    }

    .pt-dl-badge {
        position: static;
        display: inline-block;
        margin-bottom: 0.75rem;
    }

    .z7263fthumb-home {
        height: 96px;
    }

    .z7263fthumb-list,
    .z7263fthumb-related {
        height: 72px;
    }

    .z7263fthumb-side {
        height: 50px;
    }

    .pt-inner-page .row > .col-lg-8,
    .pt-inner-page .row > aside {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .pt-article-grid {
        grid-template-columns: 1fr;
    }

    .z7263fthumb-home {
        height: 140px;
    }

    .listbox .e2 .row .col-4 {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .listbox .e2 .row .col-8 {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .z7263fthumb-list,
    .z7263fthumb-related {
        height: 64px;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
        font-size: 0.9rem;
    }
}
