/* 白鲸加速器 — 官网主题（深海青 + 珊瑚橙） */
:root {
    --primary: #0c6b6b;
    --primary-dark: #084848;
    --primary-light: #e8f5f4;
    --accent: #e86f4a;
    --accent-hover: #d45a38;
    --text: #1a2b2b;
    --text-muted: #5a6e6e;
    --surface: #ffffff;
    --surface-alt: #f4faf9;
    --border: rgba(12, 107, 107, 0.12);
    --shadow-sm: 0 2px 12px rgba(8, 72, 72, 0.06);
    --shadow-md: 0 8px 28px rgba(8, 72, 72, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --nav-h: 72px;
    --transition: 0.25s ease;
    --container-max: 1140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--surface);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

/* —— 导航 —— */
.z94587navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
    box-shadow: var(--shadow-sm);
}

.z94587navbar-brand img {
    height: 42px;
    width: auto;
}

.z94587nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.z94587nav-link:hover,
.z94587nav-link:focus {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
}

.navbar-collapse {
    background: var(--surface);
}

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border-radius: var(--radius);
        border: 1px solid var(--border);
        max-height: 70vh;
        overflow-y: auto;
    }

    .z94587nav-link {
        padding: 0.55rem 0.5rem !important;
    }
}

/* —— 通用区块 —— */
.bj-section {
    padding: 4.5rem 0;
}

.bj-section-alt {
    background: var(--surface-alt);
}

.bj-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.bj-section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.bj-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bj-section-head .bj-section-lead {
    margin-bottom: 0;
}

/* —— Hero —— */
.z94587hero-section {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 45%, #0a8585 100%);
    color: #fff;
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.z94587hero-section::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -20%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(232, 111, 74, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.z94587hero-content {
    position: relative;
    z-index: 1;
}

.z94587hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.z94587hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    opacity: 0.92;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.z94587hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.z94587hero-buttons .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.7rem 1.35rem;
    white-space: normal;
}

.z94587hero-buttons .btn-light {
    background: #fff;
    color: var(--primary-dark);
    border: none;
}

.z94587hero-buttons .btn-light:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.z94587hero-buttons .btn-primary,
.z94587btn.btn-primary {
    background: var(--accent);
    border: none;
    color: #fff;
}

.z94587hero-buttons .btn-primary:hover,
.z94587btn.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

.z94587hero-image-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.z94587hero-image {
    max-width: 280px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.z94587hero-image-shadow {
    display: none;
}

.bj-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* —— 优势卡片（Bento） —— */
#features .bj-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.z94587feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.z94587feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.z94587feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem;
}

.z94587feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}

.z94587feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* —— 介绍条 —— */
.bj-intro-strip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-sm);
}

.bj-intro-strip p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.bj-intro-strip strong {
    color: var(--primary-dark);
}

/* —— 统计 —— */
.z94587stats-section {
    background: var(--primary-dark);
    color: #fff;
    padding: 3.5rem 0;
}

.z94587stats-section .row {
    --bs-gutter-y: 1.5rem;
}

.z94587stat-item {
    text-align: center;
    padding: 0.5rem;
}

.z94587stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.z94587stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 0.35rem;
}

/* —— 下载区 —— */
.z94587download-section {
    padding: 4.5rem 0;
    background: var(--surface-alt);
}

.z94587download-header h2,
.z94587security-header h2 {
    color: var(--primary-dark);
    font-weight: 700;
}

.z94587download-subtitle,
.z94587security-subtitle {
    color: var(--text-muted);
}

.z94587download-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    height: 100%;
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.z94587download-card:hover {
    box-shadow: var(--shadow-md);
}

.z94587download-card .card-body {
    padding: 1.5rem !important;
}

.z94587platform-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.z94587ios-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.z94587android-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.z94587download-info {
    background: var(--primary-light);
    padding: 1rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.z94587info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.z94587info-item:last-child {
    margin-bottom: 0;
}

.z94587info-item i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.z94587download-action .btn {
    width: 100%;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    white-space: normal;
}

/* —— 安全 —— */
.z94587security-section {
    padding: 4.5rem 0;
    background: var(--surface);
}

.z94587security-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.z94587security-card:hover {
    box-shadow: var(--shadow-md);
}

.z94587security-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.z94587security-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.z94587security-features {
    background: var(--surface-alt);
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.z94587feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.z94587feature-item:last-child {
    margin-bottom: 0;
}

.z94587feature-item i {
    color: var(--primary);
    margin-top: 0.1rem;
}

.z94587certificate-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    background: var(--surface-alt);
}

.z94587certificate-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.z94587certificate-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.z94587certificate-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* —— FAQ —— */
#faq.bj-section {
    background: var(--surface-alt);
}

#faq .card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
    height: 100%;
    overflow: hidden;
}

#faq .card-body {
    padding: 1.25rem 1.35rem;
}

#faq .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

#faq .card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
}

/* —— 文章区 —— */
#article.bj-section {
    background: var(--surface);
}

#article .card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

#article .card-img-top,
.z94587thumb-home {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

#article .card-body {
    padding: 0.85rem 1rem;
}

#article h3.h5 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

#article h3.h5 a {
    color: var(--text);
}

#article h3.h5 a:hover {
    color: var(--primary);
}

.btn-outline-primary.z94587btn {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 10px;
}

.btn-outline-primary.z94587btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* —— 页脚 —— */
.z94587footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.z94587footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.z94587footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.z94587footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.z94587footer-links li {
    margin-bottom: 0.5rem;
}

.z94587footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.z94587footer-link:hover {
    color: var(--accent);
}

.z94587footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
    margin-top: 2rem;
    text-align: center;
}

.z94587footer-bottom a {
    color: rgba(255, 255, 255, 0.75);
}

.z94587footer-bottom a:hover {
    color: #fff;
}

.z94587friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.z94587friend-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

/* —— 列表/内页 —— */
.z94587py-5.bg-light {
    background: var(--surface-alt) !important;
    padding: 2.5rem 0 3.5rem !important;
    min-height: calc(100vh - var(--nav-h) - 120px);
}

.z94587py-5.bg-light > .container > .card,
.z94587py-5.bg-light article.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.z94587article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    overflow-wrap: break-word;
}

.z94587article-content img {
    max-width: 100%;
    height: auto;
}

.z94587thumb-cover {
    max-width: 100% !important;
    width: 100%;
    border-radius: var(--radius);
}

.z94587meta-tags .z94587tagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--primary-light);
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.z94587py-5.bg-light .card,
.z94587py-5.bg-light aside .card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.listbox .e2 li .row {
    margin-left: 0;
    margin-right: 0;
}

.listbox .e2 li .col-4,
.listbox .e2 li .col-8 {
    min-width: 0;
}

.z94587py-5.bg-light aside .card-body {
    padding: 1.15rem 1.25rem;
}

/* —— 响应式 —— */
@media (max-width: 991px) {
    #features .bj-bento {
        grid-template-columns: 1fr;
    }

    .bj-intro-strip {
        padding: 1.5rem;
    }

    .z94587footer .row > [class*="col-"] {
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    .bj-section {
        padding: 3rem 0;
    }

    .z94587hero-section {
        padding: 2.5rem 0 3rem;
        text-align: center;
    }

    .z94587hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .z94587hero-buttons {
        flex-direction: column;
    }

    .z94587hero-buttons .btn {
        width: 100%;
    }

    .z94587hero-image-container {
        margin-top: 1.5rem;
    }

    .z94587hero-image {
        max-width: 220px;
        margin: 0 auto;
    }

    .z94587download-section .row.g-4 {
        --bs-gutter-y: 1rem;
    }

    .z94587download-card .d-flex.align-items-center {
        flex-wrap: wrap;
    }

    .z94587download-card .d-flex.align-items-center .ms-3 {
        margin-left: 0 !important;
        width: 100%;
    }

    .z94587security-card {
        margin-bottom: 0;
    }

    #article .row-cols-lg-5 {
        --bs-gutter-y: 0.75rem;
    }

    #article .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    #article .z94587thumb-home {
        height: 96px !important;
    }

    .z94587thumb-list,
    .z94587thumb-related {
        height: 72px !important;
    }

    .z94587thumb-side {
        height: 50px !important;
    }

    .z94587thumb-cover {
        height: 170px !important;
        object-fit: cover;
    }

    .listbox .e2 li .row {
        --bs-gutter-x: 0.75rem;
    }
}

@media (max-width: 575px) {
    .z94587navbar-brand img {
        height: 36px;
    }

    .bj-intro-strip {
        padding: 1.15rem;
    }

    #article .z94587thumb-home {
        height: 88px !important;
    }

    .z94587thumb-list,
    .z94587thumb-related {
        height: 64px !important;
    }

    .z94587thumb-cover {
        height: 150px !important;
    }
}

/* Bootstrap 覆盖 */
.btn {
    transition: background var(--transition), transform 0.15s ease;
}

.card {
    overflow: hidden;
}

.container {
    max-width: var(--container-max);
    padding-left: 1rem;
    padding-right: 1rem;
}
