/* BTOK 官网主题 — 靛紫 + 青绿，单文件样式 */
:root {
    --primary: #5b21b6;
    --primary-dark: #4c1d95;
    --primary-light: #7c3aed;
    --accent: #14b8a6;
    --accent-dark: #0d9488;
    --surface: #faf8ff;
    --surface-alt: #f3f0ff;
    --text: #1e1b2e;
    --text-muted: #5c5670;
    --border: rgba(91, 33, 182, 0.12);
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 4px 24px rgba(76, 29, 149, 0.08);
    --shadow-hover: 0 12px 32px rgba(76, 29, 149, 0.14);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h: 72px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--surface);
    margin: 0;
    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-dark);
}

/* —— 导航 —— */
.zabe7enavbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
    box-shadow: none;
}

.zabe7enavbar-brand img {
    height: 42px;
    width: auto;
}

.zabe7enav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.zabe7enav-link:hover,
.zabe7enav-link:focus {
    color: var(--primary) !important;
    background: var(--surface-alt);
}

.zabe7enavbar .navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
}

.zabe7enavbar .navbar-collapse {
    background: #fff;
    border-radius: var(--radius);
    margin-top: 0.5rem;
    padding: 0.5rem;
    box-shadow: var(--shadow);
}

/* —— 通用区块 —— */
.btok-section {
    padding: 4.5rem 0;
}

.btok-section-alt {
    background: var(--surface-alt);
}

.btok-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.btok-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.btok-section-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.02rem;
}

.btok-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(20, 184, 166, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

/* —— Hero —— */
.zabe7ehero-section {
    position: relative;
    padding: 4rem 0 5rem;
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 45%, #6d28d9 100%);
    color: #fff;
    overflow: hidden;
}

.zabe7ehero-section::after {
    content: "";
    position: absolute;
    right: -15%;
    top: -20%;
    width: 55%;
    height: 140%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 65%);
    pointer-events: none;
}

.zabe7ehero-content {
    position: relative;
    z-index: 1;
}

.zabe7ehero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.zabe7ehero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    opacity: 0.92;
    margin-bottom: 1.75rem;
    max-width: 520px;
    line-height: 1.7;
}

.zabe7ehero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.zabe7ehero-buttons .btn {
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.zabe7ehero-buttons .btn-light {
    background: #fff;
    color: var(--primary-dark);
}

.zabe7ehero-buttons .btn-primary,
.zabe7ebtn.btn-primary {
    background: var(--accent);
    color: #fff;
}

.zabe7ehero-buttons .btn:hover,
.zabe7ebtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.zabe7ehero-image-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.zabe7ehero-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);
}

.zabe7ehero-image-shadow {
    display: none;
}

/* Hero 要点条 */
.btok-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.btok-hero-tags span {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* —— 简介双栏 —— */
.btok-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.btok-intro-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.btok-intro-card h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin: 0 0 0.75rem;
}

.btok-intro-card p {
    color: var(--text-muted);
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
}

.btok-intro-card p:last-child {
    margin-bottom: 0;
}

/* —— 特点 Bento —— */
.btok-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.zabe7efeature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: left;
}

.zabe7efeature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.zabe7efeature-icon {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    color: var(--primary);
    background: var(--surface-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem;
}

.zabe7efeature-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
}

.zabe7efeature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
}

/* —— 统计 —— */
.zabe7estats-section {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    padding: 3rem 0;
}

.zabe7estats-section .row {
    --bs-gutter-x: 1rem;
}

.zabe7estat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
}

.zabe7estat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.zabe7estat-label {
    font-size: 0.9rem;
    opacity: 0.88;
}

/* —— 下载 —— */
.zabe7edownload-section {
    padding: 4.5rem 0;
    background: #fff;
}

.zabe7edownload-header h2 {
    color: var(--primary-dark);
    font-weight: 700;
}

.zabe7edownload-subtitle {
    color: var(--text-muted);
}

.zabe7edownload-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
    height: 100%;
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.zabe7edownload-card:hover {
    box-shadow: var(--shadow-hover);
}

.zabe7edownload-card .card-body {
    padding: 1.5rem !important;
}

.zabe7eplatform-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    flex-shrink: 0;
}

.zabe7eios-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.zabe7eandroid-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.zabe7edownload-info {
    background: var(--surface-alt);
    padding: 1rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.zabe7einfo-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.zabe7einfo-item:last-child {
    margin-bottom: 0;
}

.zabe7einfo-item i {
    color: var(--accent-dark);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.zabe7edownload-action .btn {
    width: 100%;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    white-space: normal;
}

/* —— 安全 —— */
.zabe7esecurity-section {
    padding: 4.5rem 0;
    background: var(--surface-alt);
}

.zabe7esecurity-header h2 {
    color: var(--primary-dark);
    font-weight: 700;
}

.zabe7esecurity-subtitle {
    color: var(--text-muted);
}

.zabe7esecurity-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.zabe7esecurity-card:hover {
    transform: translateY(-3px);
}

.zabe7esecurity-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.zabe7esecurity-card h3 {
    font-size: 1.05rem;
    text-align: center;
    color: var(--primary-dark);
    margin: 0 0 1rem;
}

.zabe7esecurity-features {
    background: var(--surface-alt);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.zabe7efeature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.zabe7efeature-item:last-child {
    margin-bottom: 0;
}

.zabe7efeature-item i {
    color: var(--accent-dark);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.zabe7ecertificate-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow);
}

.zabe7ecertificate-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.zabe7ecertificate-card h4 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin: 0 0 0.35rem;
}

.zabe7ecertificate-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* —— 知识区 —— */
.btok-knowledge {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.btok-knowledge-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow);
}

.btok-knowledge-item h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
}

.btok-knowledge-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* —— FAQ —— */
.btok-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.btok-faq-grid .card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    overflow: hidden;
}

.btok-faq-grid .card-body {
    padding: 1.25rem 1.35rem;
}

.btok-faq-grid .card-title {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.btok-faq-grid .card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* —— 文章区 —— */
#article {
    background: #fff;
}

#article .card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

#article .card-body {
    padding: 0.85rem 1rem;
}

.zabe7ethumb-home {
    height: 110px !important;
    object-fit: cover;
    width: 100%;
}

#article h3.h5 {
    font-size: 0.92rem;
    line-height: 1.4;
    margin: 0;
}

#article h3.h5 a {
    color: var(--text);
}

#article h3.h5 a:hover {
    color: var(--primary);
}

.btok-article-heading {
    color: var(--primary-dark);
}

/* —— 页脚 —— */
.zabe7efooter {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.zabe7efooter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.zabe7efooter-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.zabe7efooter-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zabe7efooter-links li {
    margin-bottom: 0.5rem;
}

.zabe7efooter-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.zabe7efooter-link:hover {
    color: var(--accent);
}

.zabe7efriend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zabe7efriend-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.zabe7efooter-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.zabe7efooter-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

/* —— 列表/内页 —— */
.btok-inner-page {
    background: var(--surface-alt);
}
.zabe7epages .pagelist,
.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.listbox .e2 li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.zabe7earticle-content {
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.zabe7earticle-content img {
    max-width: 100%;
    height: auto;
}

.zabe7ethumb-cover {
    max-width: 100% !important;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
}

.zabe7emeta-tags .zabe7etagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--surface-alt);
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

/* 内页/列表卡片边框统一 */
.zabe7epy-5 .card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.zabe7epy-5 .card-body {
    padding: 1.25rem;
}

/* Bootstrap 按钮覆盖 */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/* —— 响应式 —— */
@media (min-width: 576px) and (max-width: 991px) {
    .btok-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .btok-bento {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {

    .btok-intro-grid {
        grid-template-columns: 1fr;
    }

    .btok-knowledge {
        grid-template-columns: 1fr;
    }

    .zabe7ehero-section {
        padding: 3rem 0 3.5rem;
    }

    .zabe7ehero-image-container {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767px) {
    .btok-section {
        padding: 3rem 0;
    }

    .zabe7enavbar {
        padding: 0.45rem 0;
    }

    .zabe7enavbar .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }

    .zabe7enav-link {
        padding: 0.5rem 0.65rem !important;
    }

    .zabe7ehero-buttons {
        flex-direction: column;
    }

    .zabe7ehero-buttons .btn {
        width: 100%;
    }

    .btok-faq-grid {
        grid-template-columns: 1fr;
    }

    .zabe7edownload-card .d-flex.align-items-center {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .zabe7edownload-card .d-flex.align-items-center .ms-3 {
        margin-left: 0 !important;
        width: 100%;
    }

    .zabe7estat-item {
        padding: 0.5rem;
    }

    .zabe7esecurity-card {
        margin-bottom: 0;
    }

    .zabe7efooter .row > [class*="col-"] {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .zabe7efriend-links {
        justify-content: center;
    }

    #article .row-cols-md-2 {
        --bs-columns: 2;
    }

    .zabe7ethumb-list,
    .zabe7ethumb-related {
        height: 72px !important;
    }

    .zabe7ethumb-side {
        height: 48px !important;
    }

    .listbox .e2 li h2.h5 {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .zabe7ehero-title {
        font-size: 1.65rem;
    }

    .zabe7estat-number {
        font-size: 1.5rem;
    }

    #article .zabe7ethumb-home {
        height: 90px !important;
    }

    .zabe7ethumb-list,
    .zabe7ethumb-related {
        height: 64px !important;
    }

    .zabe7ecertificate-card {
        margin-bottom: 0.75rem;
    }

    .btok-hero-tags {
        justify-content: center;
    }
}
