/* 快联官网主题 — 青绿 + 琥珀 */
:root {
    --primary-color: #0f766e;
    --secondary-color: #134e4a;
    --accent-color: #f59e0b;
    --text-color: #1e293b;
    --light-bg: #f0fdfa;
    --surface: #ffffff;
    --border-color: #ccfbf1;
    --muted: #64748b;
    --transition-speed: 0.25s;
    --transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 12px rgba(15, 118, 110, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 118, 110, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.65;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* 导航 */
.z9a160navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.z9a160navbar-brand img {
    height: 42px;
    width: auto;
}

.z9a160nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.45rem 0.85rem !important;
    border-radius: var(--radius-sm);
    transition: color var(--transition-speed), background var(--transition-speed);
}

.z9a160nav-link:hover,
.z9a160nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(15, 118, 110, 0.08);
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.55rem;
}

.navbar-collapse {
    background: var(--surface);
}

/* 首屏 */
.z9a160hero-section {
    background: linear-gradient(160deg, #ecfdf5 0%, #f0fdfa 45%, #fff 100%);
    color: var(--text-color);
    padding: 4rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.z9a160hero-section::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 55%;
    height: 140%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.z9a160hero-content {
    position: relative;
    z-index: 1;
}

.z9a160hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    background: rgba(15, 118, 110, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.z9a160hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: var(--secondary-color);
}

.z9a160hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
    max-width: 36rem;
}

.z9a160hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 1.5rem 0 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.z9a160hero-tags li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.z9a160hero-tags i {
    color: var(--primary-color);
}

.z9a160hero-visual {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    max-width: 100%;
    overflow: hidden;
}

.z9a160hero-image {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: var(--radius-md);
}

.z9a160hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.z9a160hero-buttons .btn {
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.z9a160hero-buttons .btn-light {
    background: var(--surface);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.z9a160hero-buttons .btn-primary,
.btn-primary.z9a160btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #fff;
}

.z9a160hero-buttons .btn-primary:hover,
.btn-primary.z9a160btn:hover {
    background: linear-gradient(135deg, #0d9488, var(--primary-color));
    color: #fff;
}

/* 通用区块 */
.z9a160section {
    padding: 4rem 0;
}

.z9a160section-head {
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.z9a160section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.z9a160section-head p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 1rem;
}

.z9a160section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Bento 亮点 */
.z9a160features-section {
    background: var(--light-bg);
}

.z9a160bento-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.z9a160bento-card:hover {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: var(--shadow-md);
}

.z9a160bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.z9a160bento-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.z9a160bento-card p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* 统计 */
.z9a160stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 3rem 0;
}

.z9a160stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem 0.75rem;
    height: 100%;
}

.z9a160stat-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.z9a160stat-label {
    font-size: 0.9rem;
    opacity: 0.92;
}

/* 下载 */
.z9a160download-section {
    padding: 4rem 0;
    background: #fff;
}

.z9a160download-subtitle {
    color: var(--muted);
}

.z9a160download-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--surface);
    overflow: hidden;
    transition: box-shadow var(--transition-speed);
}

.z9a160download-card:hover {
    box-shadow: var(--shadow-md);
}

.z9a160download-card .card-body {
    padding: 1.25rem 1.5rem;
}

.z9a160dl-head {
    min-width: 0;
}

.z9a160dl-head h3 {
    word-break: break-word;
}

.min-w-0 {
    min-width: 0;
}

.z9a160platform-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.z9a160ios-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
}

.z9a160android-icon {
    background: linear-gradient(135deg, #34d399, #059669);
    color: #fff;
}

.z9a160download-info {
    background: var(--light-bg);
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.z9a160info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.z9a160info-item:last-child {
    margin-bottom: 0;
}

.z9a160info-item i {
    color: var(--primary-color);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.z9a160dl-note {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* 知识 */
.z9a160knowledge-section {
    background: var(--light-bg);
}

.z9a160knowledge-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.z9a160knowledge-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.z9a160knowledge-card h3 i {
    color: var(--primary-color);
}

.z9a160knowledge-card p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* 安全 */
.z9a160security-section {
    padding: 4rem 0;
    background: #fff;
}

.z9a160security-subtitle {
    color: var(--muted);
}

.z9a160security-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.z9a160security-card h3 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 1rem;
}

.z9a160security-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    flex-shrink: 0;
}

.z9a160security-features {
    background: var(--light-bg);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    flex-grow: 1;
}

.z9a160feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    color: var(--text-color);
}

.z9a160feature-item:last-child {
    margin-bottom: 0;
}

.z9a160feature-item i {
    color: var(--primary-color);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* FAQ */
.z9a160faq-section {
    background: var(--light-bg);
}

.z9a160faq-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.35rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.z9a160faq-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.z9a160faq-card p {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* 文章 */
.z9a160article-section {
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.z9a160article-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow var(--transition-speed);
}

.z9a160article-card:hover {
    box-shadow: var(--shadow-sm);
}

.z9a160thumb-home {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.z9a160article-card .card-body {
    padding: 0.75rem;
}

.z9a160article-card h3 a {
    color: var(--text-color);
}

.z9a160article-card h3 a:hover {
    color: var(--primary-color);
}

/* 按钮 */
.btn {
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-outline-primary.z9a160btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary.z9a160btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.z9a160download-action .btn {
    white-space: normal;
}

/* 页脚 */
.z9a160footer {
    background: var(--secondary-color);
    padding: 3rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.z9a160footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.z9a160footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.z9a160footer-links li {
    margin-bottom: 0.5rem;
}

.z9a160footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
}

.z9a160footer-link:hover {
    color: var(--accent-color);
}

.z9a160friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.z9a160friend-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.z9a160footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.z9a160footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

/* 列表/内页 */
.z9a160pages .pagelist,
.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
    margin: 0;
}

.listbox .card,
article.card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.z9a160article-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.z9a160article-content img {
    max-width: 100%;
    height: auto;
}

.z9a160meta-tags .z9a160tagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 991px) {
    .z9a160hero-section {
        padding: 3rem 0;
    }

    .z9a160section {
        padding: 3rem 0;
    }

    .z9a160hero-visual {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .z9a160navbar {
        padding: 0.5rem 0;
    }

    .z9a160navbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        max-height: 70vh;
        overflow-y: auto;
    }

    .z9a160navbar .navbar-nav .nav-link {
        padding: 0.5rem 0.35rem !important;
        font-size: 0.95rem;
    }

    .z9a160hero-buttons {
        flex-direction: column;
    }

    .z9a160hero-buttons .btn {
        width: 100%;
    }

    .z9a160hero-tags {
        justify-content: flex-start;
    }

    .z9a160bento-card {
        padding: 1.15rem;
    }

    .z9a160download-section .row.g-4 {
        --bs-gutter-y: 1rem;
    }

    .z9a160download-card .card-body {
        padding: 1rem !important;
    }

    .z9a160dl-head {
        flex-wrap: nowrap;
    }

    .z9a160dl-head .ms-3 {
        margin-left: 0.75rem !important;
    }

    .z9a160download-action .btn {
        width: 100%;
    }

    .z9a160security-card {
        padding: 1.15rem 1rem;
    }

    .z9a160stat-item {
        padding: 1rem 0.5rem;
    }

    .z9a160thumb-home {
        height: 96px;
    }

    #article .z9a160article-card .card-body {
        padding: 0.65rem;
    }

    #article h3.h6 {
        font-size: 0.88rem;
        line-height: 1.35;
        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;
    }

    .z9a160thumb-list,
    .z9a160thumb-related {
        height: 72px !important;
    }

    .z9a160thumb-side {
        height: 50px !important;
    }

    .z9a160thumb-cover {
        max-width: 100% !important;
        width: 100%;
        height: auto !important;
        max-height: 200px;
        object-fit: cover;
    }

    .z9a160footer {
        text-align: center;
    }

    .z9a160footer-links {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575px) {
    .z9a160hero-title {
        font-size: 1.65rem;
    }

    .z9a160hero-subtitle {
        font-size: 0.95rem;
    }

    .z9a160section-head {
        margin-bottom: 1.75rem;
    }

    .z9a160thumb-home {
        height: 88px;
    }

    .z9a160thumb-list,
    .z9a160thumb-related {
        height: 64px !important;
    }

    .row-cols-2 .z9a160article-card .card-body {
        padding: 0.5rem;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }
}

/* 禁用移动端过大 hover 位移 */
@media (hover: none) {
    .z9a160bento-card:hover,
    .z9a160download-card:hover {
        transform: none;
    }
}
