:root {
    --primary-color: #1B4332;
    --secondary-color: #2D6A4F;
    --accent-color: #D4A373;
    --accent-dark: #BC8A5F;
    --text-color: #2B2D42;
    --text-muted: #5C6370;
    --light-bg: #F8F7F4;
    --surface: #FFFFFF;
    --border-color: #E2DDD4;
    --hero-bg: #081C15;
    --transition-speed: 0.25s;
    --transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 67, 50, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.65;
    background: var(--light-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* 导航 */
.fxh-nav.z952b0navbar,
.z952b0navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 0.65rem 0;
}

.z952b0navbar-brand img {
    height: 42px;
    width: auto;
}

.z952b0nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
    border-radius: var(--radius-sm);
}

.z952b0nav-link:hover,
.z952b0nav-link.active {
    color: var(--primary-color) !important;
}

/* 按钮 */
.fxh-btn-primary,
.z952b0hero-buttons .btn-primary,
.z952b0download-action .btn-primary {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    transition: background var(--transition-speed), transform var(--transition-speed);
}

.fxh-btn-primary:hover,
.z952b0download-action .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-1px);
}

.fxh-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.65rem 1.25rem;
}

.fxh-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.fxh-download .fxh-btn-outline,
.fxh-articles .fxh-btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.fxh-download .fxh-btn-outline:hover,
.fxh-articles .fxh-btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn {
    white-space: normal;
}

/* Hero */
.fxh-hero.z952b0hero-section {
    background: var(--hero-bg);
    color: #fff;
    padding: 4rem 0 4.5rem;
    overflow: hidden;
}

.fxh-hero::before {
    display: none;
}

.fxh-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.2);
    color: var(--accent-color);
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 163, 115, 0.35);
}

.fxh-hero-title.z952b0hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.fxh-hero-lead.z952b0hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 1.5rem;
    max-width: 36em;
}

.fxh-hero-actions.z952b0hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0;
}

.fxh-hero-visual {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    min-height: auto;
    margin-top: 0;
}

.fxh-hero-img.z952b0hero-image {
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: none;
    margin: 0 auto;
}

.z952b0hero-image-shadow {
    display: none;
}

/* 通用区块 */
.fxh-section {
    padding: 3.5rem 0;
}

.fxh-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.fxh-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.fxh-section-head p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 1rem;
}

.fxh-section-head-light h2,
.fxh-section-head-light p {
    color: inherit;
}

.fxh-section-head-light p {
    opacity: 0.85;
}

/* 亮点 Bento */
.fxh-features {
    background: var(--surface);
}

.fxh-panel {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: 100%;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.fxh-panel:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.fxh-panel-main {
    min-height: 100%;
}

.fxh-panel-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    display: block;
}

.fxh-panel h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.fxh-panel p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* 介绍区 */
.fxh-intro {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, #EDE9E0 100%);
}

.fxh-intro-inner {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
}

.fxh-intro-inner h2 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fxh-intro-inner p {
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
}

.fxh-intro-inner p:last-of-type {
    margin-bottom: 1rem;
}

.fxh-intro-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.fxh-intro-tags li {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.fxh-intro-tags i {
    color: var(--accent-dark);
    margin-right: 0.25rem;
}

/* 数据概览 */
.fxh-stats.z952b0stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 3rem 0;
}

.fxh-stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fxh-stat-num.z952b0stat-number {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.z952b0stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 下载 */
.fxh-download.z952b0download-section {
    background: var(--light-bg);
    padding: 3.5rem 0;
}

.fxh-dl-card.z952b0download-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition-speed);
}

.fxh-dl-card:hover {
    box-shadow: var(--shadow-md);
    transform: none;
}

.fxh-dl-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fxh-dl-head h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.fxh-dl-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.fxh-dl-icon-win {
    background: #0078D4;
}

.fxh-dl-icon-and {
    background: #3DDC84;
    color: #1a1a1a;
}

.fxh-dl-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.fxh-dl-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    padding-left: 1.1rem;
    position: relative;
}

.fxh-dl-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

/* 安全 */
.fxh-security.z952b0security-section {
    background: var(--surface);
    padding: 3.5rem 0;
}

.fxh-sec-card.z952b0security-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    height: 100%;
    text-align: left;
    box-shadow: none;
    transition: border-color var(--transition-speed);
}

.fxh-sec-card:hover {
    border-color: var(--secondary-color);
    transform: none;
    box-shadow: var(--shadow-sm);
}

.fxh-sec-card i {
    font-size: 1.35rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.fxh-sec-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    text-align: left;
}

.fxh-sec-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* FAQ */
.fxh-faq {
    background: var(--light-bg);
}

.fxh-faq-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    border-left: 3px solid var(--accent-color);
    height: 100%;
}

.fxh-faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.fxh-faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 文章 */
.fxh-articles {
    background: var(--surface);
    border-top: 1px solid var(--border-color);
}

.fxh-articles-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.fxh-article-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: none;
    background: var(--surface);
}

.fxh-article-card .card-body {
    padding: 0.85rem;
}

.fxh-article-thumb-wrap {
    overflow: hidden;
}

.fxh-article-thumb.z952b0thumb-home {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

.fxh-article-link {
    color: var(--text-color);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.fxh-article-link:hover {
    color: var(--primary-color);
}

/* 页脚 */
.fxh-footer.z952b0footer {
    background: var(--hero-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.fxh-footer .z952b0footer-title {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.fxh-footer .z952b0footer-link {
    color: rgba(255, 255, 255, 0.7);
}

.fxh-footer .z952b0footer-link:hover {
    color: #fff;
}

.fxh-footer .z952b0footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

.fxh-footer .z952b0footer-bottom a {
    color: rgba(255, 255, 255, 0.75);
}

.fxh-friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fxh-friend-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
}

.fxh-friend-links a:hover {
    color: #fff;
}

/* 列表页 / 内页 */
.z952b0pages .pagelist,
.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
    margin: 0;
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.z952b0article-content {
    line-height: 1.75;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.z952b0article-content img {
    max-width: 100%;
    height: auto;
}

.z952b0meta-tags .z952b0tagitem a {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
}

/* 内页/列表卡片统一边框 */
.z952b0py-5 .card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.z952b0thumb-list,
.z952b0thumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.z952b0thumb-side {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.z952b0thumb-cover {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* 响应式 */
@media (max-width: 991px) {
    .fxh-nav .navbar-collapse {
        background: var(--surface);
        padding: 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        margin-top: 0.5rem;
        max-height: 70vh;
        overflow-y: auto;
    }

    .fxh-panel-main {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .fxh-hero.z952b0hero-section {
        padding: 2.5rem 0 3rem;
    }

    .fxh-hero-actions.z952b0hero-buttons {
        flex-direction: column;
    }

    .fxh-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .fxh-section {
        padding: 2.5rem 0;
    }

    .fxh-section-head {
        margin-bottom: 1.75rem;
    }

    .fxh-intro-inner {
        padding: 1.25rem;
    }

    .fxh-intro-tags {
        flex-direction: column;
        gap: 0.35rem;
    }

    .fxh-stat {
        min-height: 88px;
        padding: 1rem 0.75rem;
    }

    .fxh-dl-card {
        padding: 1.15rem;
    }

    .fxh-dl-head {
        gap: 0.75rem;
    }

    .fxh-article-thumb.z952b0thumb-home {
        height: 100px;
    }

    .z952b0navbar {
        padding: 0.5rem 0;
    }

    .z952b0navbar .navbar-nav .nav-link {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.95rem;
    }

    .listbox .e2 li {
        padding-bottom: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .listbox .e2 li h2.h5 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .z952b0thumb-list,
    .z952b0thumb-related {
        height: 72px !important;
    }

    .z952b0thumb-side {
        height: 50px !important;
    }

    .z952b0thumb-cover {
        max-height: 200px;
    }

    .fxh-footer .row > [class*="col-"] {
        text-align: center;
    }

    .fxh-friend-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .fxh-hero-title.z952b0hero-title {
        font-size: 1.6rem;
    }

    .fxh-hero-lead {
        font-size: 0.95rem;
    }

    .fxh-article-thumb.z952b0thumb-home {
        height: 90px;
    }

    .z952b0thumb-list,
    .z952b0thumb-related {
        height: 64px !important;
    }

    .z952b0thumb-side {
        height: 46px !important;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }
}

/* 兼容旧类名，避免残留蓝色 */
.z952b0feature-card,
.z952b0certificate-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.z952b0feature-icon {
    color: var(--secondary-color);
    background: rgba(45, 106, 79, 0.1);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(27, 67, 50, 0.2);
}
