:root {
    --primary-color: #0d9488;
    --primary-dark: #0f766e;
    --primary-deep: #115e59;
    --accent-color: #f97316;
    --accent-soft: #ffedd5;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --surface: #ffffff;
    --surface-alt: #f0fdfa;
    --surface-muted: #f8fafc;
    --border-color: #e2e8f0;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(15, 118, 110, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 118, 110, 0.12);
    --transition: 0.25s ease;
}

*, *::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(--surface-muted);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

/* —— 导航 —— */
.lin-nav.zfeb6fnavbar,
.zfeb6fnavbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 0.65rem 0;
}

.zfeb6fnavbar-brand img {
    height: 42px;
    width: auto;
}

.zfeb6fnav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.zfeb6fnav-link:hover {
    color: var(--primary-color) !important;
    background: var(--surface-alt);
}

/* —— 首屏 —— */
.lin-hero.zfeb6fhero-section,
.zfeb6fhero-section {
    background: linear-gradient(145deg, var(--primary-deep) 0%, var(--primary-color) 55%, #14b8a6 100%);
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
}

.lin-hero::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -20%;
    width: 50%;
    height: 140%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.zfeb6fhero-content {
    position: relative;
    z-index: 1;
}

.lin-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.18);
    border: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 1rem;
}

.zfeb6fhero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.zfeb6fhero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.92;
    margin-bottom: 1.5rem;
    max-width: 36em;
}

.lin-hero-visual.zfeb6fhero-image-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: auto;
    margin-top: 0;
}

.zfeb6fhero-image {
    width: 100%;
    max-width: 280px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    object-fit: contain;
}

.zfeb6fhero-image-shadow {
    display: none;
}

.lin-hero-actions.zfeb6fhero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lin-btn-primary {
    background: var(--accent-color) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    white-space: normal;
}

.lin-btn-primary:hover {
    background: #ea580c !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.lin-btn-outline {
    background: #fff !important;
    color: var(--primary-deep) !important;
    border: 2px solid rgba(255,255,255,0.9) !important;
    font-weight: 600;
    border-radius: 10px;
    white-space: normal;
}

.lin-btn-ghost {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    font-weight: 600;
    border-radius: 10px;
    white-space: normal;
}

.lin-btn-ghost:hover {
    background: rgba(255,255,255,0.25) !important;
    color: #fff !important;
}

.lin-btn-outline.btn-sm {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background: transparent !important;
}

/* —— 通用板块 —— */
.lin-section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.lin-section:nth-child(even) {
    background: var(--surface);
}

.lin-section-head {
    max-width: 640px;
    margin: 0 auto 2rem;
    text-align: center;
}

.lin-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 0.75rem;
}

.lin-section-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
}

.lin-panel {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.lin-panel:hover {
    box-shadow: var(--shadow-md);
    border-color: #99f6e4;
}

.lin-panel-feature h3,
.lin-panel-wide h3,
.lin-panel-accent h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: 0.5rem;
}

.lin-panel-feature p,
.lin-panel-wide p,
.lin-panel-sm p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.lin-panel-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--surface-alt);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.lin-icon-sm {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    margin: 0 auto 0.75rem;
}

.lin-panel-wide {
    padding: 1.75rem;
}

.lin-panel-accent {
    background: linear-gradient(160deg, var(--surface-alt), #ccfbf1);
    border-color: #99f6e4;
}

.lin-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lin-check-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.lin-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* —— 数据条 —— */
.lin-stats.zfeb6fstats-section {
    background: var(--primary-deep);
    color: #fff;
    padding: clamp(2rem, 5vw, 3rem) 0;
}

.lin-stat.zfeb6fstat-item {
    padding: 0.5rem;
}

.zfeb6fstat-number {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
}

.zfeb6fstat-label {
    font-size: 0.9rem;
    opacity: 0.88;
}

/* —— 下载区 —— */
.lin-download.zfeb6fdownload-section {
    background: var(--surface-muted);
}

.lin-dl-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem !important;
}

.lin-dl-card.lin-dl-featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color), var(--shadow-md);
}

.lin-dl-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lin-dl-head h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-deep);
}

.lin-dl-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.lin-dl-pc { background: #3b82f6; }
.lin-dl-android { background: #22c55e; }
.lin-dl-ios { background: #64748b; }

.lin-dl-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.lin-dl-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.35rem 0 0.35rem 1.1rem;
    position: relative;
}

.lin-dl-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
}

.zfeb6fdownload-card {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-sm) !important;
    transform: none !important;
}

.zfeb6fdownload-card:hover {
    transform: none !important;
}

/* —— 安全 / FAQ —— */
.lin-security.zfeb6fsecurity-section {
    background: var(--surface-alt);
}

.lin-panel-sm {
    text-align: center;
    padding: 1.25rem;
}

.lin-panel-sm h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: 0.5rem;
}

.lin-faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: 0.5rem;
}

.lin-faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* —— 文章卡片 —— */
.lin-articles {
    background: var(--surface-muted);
}

.lin-article-card {
    padding: 0 !important;
    overflow: hidden;
}

.lin-article-thumb img,
.zfeb6fthumb-home {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 0;
}

.lin-article-body {
    padding: 0.85rem 1rem 1rem;
}

.lin-article-link {
    color: var(--text-color);
    font-weight: 600;
}

.lin-article-link:hover {
    color: var(--primary-color);
}

/* —— 页脚 —— */
.lin-footer.zfeb6ffooter {
    background: var(--primary-deep);
    color: #cbd5e1;
    padding: 2.5rem 0 1.5rem;
}

.lin-footer .zfeb6ffooter-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.lin-footer .zfeb6ffooter-link {
    color: #94a3b8;
}

.lin-footer .zfeb6ffooter-link:hover {
    color: #5eead4;
}

.lin-friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.zfeb6ffooter-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
}

.zfeb6ffooter-bottom a {
    color: #94a3b8;
}

/* —— 旧类兼容 —— */
.zfeb6ffeature-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transform: none !important;
}

.zfeb6ffeature-card:hover {
    transform: none !important;
}

.zfeb6ffeature-icon {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    color: var(--primary-color);
    background: var(--surface-alt);
    border-radius: 10px;
    margin: 0 auto 1rem;
}

.zfeb6fsecurity-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transform: none !important;
}

.zfeb6fsecurity-card:hover {
    transform: none !important;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.zfeb6fsecurity-header h2,
.zfeb6fdownload-header h2 {
    color: var(--primary-deep);
}

/* —— 列表 / 内页 —— */
.zfeb6fpy-5.bg-light {
    background: var(--surface-muted) !important;
}

.card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.card.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.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;
}

.zfeb6farticle-content {
    overflow-wrap: break-word;
    word-break: break-word;
}

.zfeb6farticle-content img {
    max-width: 100%;
    height: auto;
}

/* —— 响应式 —— */
@media (max-width: 991px) {
    .zfeb6fnavbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        max-height: 70vh;
        overflow-y: auto;
    }

    .lin-footer .row > div {
        text-align: center;
    }

    .lin-footer .zfeb6ffooter-links {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .lin-hero-actions {
        flex-direction: column;
    }

    .lin-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .lin-dl-head {
        flex-direction: row;
        text-align: left;
    }

    .lin-panel {
        padding: 1.15rem;
    }

    .lin-panel-wide {
        padding: 1.25rem;
    }

    .zfeb6fthumb-home {
        height: 96px !important;
    }

    #article h3.h6,
    .lin-article-body h3 {
        font-size: 0.95rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .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;
    }

    .zfeb6fthumb-list,
    .zfeb6fthumb-related {
        height: 72px !important;
    }

    .zfeb6fthumb-side {
        height: 50px !important;
    }

    .zfeb6fthumb-cover {
        max-width: 100% !important;
        width: 100%;
        height: 170px !important;
    }

    .zfeb6fnavbar {
        padding: 0.5rem 0;
    }

    .zfeb6fnav-link {
        padding: 0.5rem 0.35rem !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .zfeb6fhero-image {
        max-width: 200px;
    }

    .zfeb6fthumb-home {
        height: 88px !important;
    }

    .zfeb6fthumb-list,
    .zfeb6fthumb-related {
        height: 64px !important;
    }

    .zfeb6fthumb-cover {
        height: 150px !important;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }

    .lin-stat {
        margin-bottom: 0.5rem;
    }
}
