/* ===== 变量 · 靛蓝企业官网主题 ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #eef2ff;
    --accent: #0891b2;
    --accent-light: #ecfeff;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #1e293b;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --radius: 8px;
    --radius-lg: 12px;
    --container: 1140px;
    --header-h: 64px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.25s;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--text);
    font-size: 0.82rem;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-links a.z6a8b1this {
    background: var(--primary);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== 首页 Hero ===== */
.hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 48px;
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdfa 50%, #fff 100%);
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero-text h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.hero-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 信任条 ===== */
.trust-bar {
    background: var(--bg-dark);
    padding: 20px 0;
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.trust-item {
    color: #fff;
    padding: 8px;
}

.trust-item strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #a5b4fc;
    line-height: 1.2;
}

.trust-item span {
    font-size: 0.82rem;
    opacity: 0.75;
}

.ad-container {
    padding: 16px 0;
    text-align: center;
    overflow: hidden;
}

/* ===== 通用板块 ===== */
.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: var(--bg-dark);
}

.section-contact {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 64px 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.section-head-light .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #c7d2fe;
}

.section-head-light h2,
.section-head-light .section-desc {
    color: #fff;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--accent-light);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.35;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ===== 卡片布局 ===== */
.card-row {
    display: grid;
    gap: 20px;
}

.card-row-2 { grid-template-columns: repeat(2, 1fr); }
.card-row-3 { grid-template-columns: repeat(3, 1fr); }
.card-row-4 { grid-template-columns: repeat(4, 1fr); }

.info-card,
.step-card,
.feature-box,
.dark-card,
.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
    min-width: 0;
}

.section-alt .info-card,
.section-alt .step-card,
.section-alt .feature-box {
    background: var(--bg);
}

.info-card:hover,
.step-card:hover,
.feature-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: var(--radius);
    margin-bottom: 14px;
}

.info-card h3,
.feature-box h3,
.dark-card h3,
.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.info-card p,
.feature-box p,
.dark-card p,
.contact-card p,
.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.step-card {
    text-align: center;
    padding: 20px 16px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ===== 分栏块 ===== */
.split-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.split-content,
.split-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    background: var(--bg);
    min-width: 0;
}

.split-panel {
    background: var(--primary-light);
    border-color: #c7d2fe;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.panel-stat {
    text-align: center;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.panel-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.panel-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 0.92rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 深色卡片 ===== */
.dark-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.dark-card h3 {
    color: #e2e8f0;
}

.dark-card p {
    color: #94a3b8;
}

.dark-card:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transform: none;
}

/* ===== 价格表 ===== */
.price-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 480px;
}

.price-table th,
.price-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.price-table th {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr:hover {
    background: var(--bg-alt);
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0 12px;
}

/* ===== 联系卡片 ===== */
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    text-align: center;
}

.contact-card h3 {
    color: #fff;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    transform: none;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--bg);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    flex: 1;
    min-width: 0;
}

.faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-answer.open {
    max-height: 400px;
    padding: 0 20px 16px;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== 首页文章 ===== */
.article-home-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.article-home-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    min-width: 0;
}

.article-home-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-home-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.article-home-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-home-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-home-item:hover .article-home-thumb img {
    transform: scale(1.04);
}

.article-home-item h3 {
    padding: 12px;
    margin: 0;
}

.article-home-item h3 a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    transition: color 0.2s;
}

.article-home-item h3 a:hover {
    color: var(--primary);
}

.article-home-item p,
.article-home-item .article-desc {
    display: none;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-dark);
    padding: 48px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-section li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section li a:hover {
    color: #a5b4fc;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 4px;
}

.footer-bottom a {
    color: #a5b4fc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #c7d2fe;
}

/* ===== 内页布局 ===== */
.page-main {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 48px;
    min-height: 60vh;
}

.page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

.page-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.35;
}

/* ===== 列表页 ===== */
.listbox {
    margin-bottom: 24px;
}

.article-list {
    list-style: none;
}

.article-list-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: box-shadow 0.2s;
    min-width: 0;
}

.article-list-item:hover {
    box-shadow: var(--shadow-md);
}

.article-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 108px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-info {
    flex: 1;
    min-width: 0;
}

.article-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-info h3 a {
    color: var(--text);
    text-decoration: none;
}

.article-info h3 a:hover {
    color: var(--primary);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.article-meta a {
    color: var(--primary);
}

.article-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 分页 ===== */
.pagebar {
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pagebar .z6a8b1pages {
    width: 100%;
    overflow-x: auto;
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.pagebar .pagelist li {
    list-style: none;
}

.pagebar .pagelist a,
.pagebar .pagelist span {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.82rem;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.pagebar .pagelist a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagebar .pagelist .thisclass,
.pagebar .pagelist .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ===== 内容页 ===== */
.article-detail {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    min-width: 0;
    overflow: hidden;
}

.article-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 12px;
    word-break: break-word;
}

.article-litpic {
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.article-litpic img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.article-body {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text);
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 12px 0;
}

.article-body p {
    margin-bottom: 14px;
}

.z6a8b1diyfield {
    margin: 16px 0;
    padding: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.article-images {
    margin: 16px 0;
}

.article-image-item {
    margin-bottom: 12px;
}

.article-image-item img {
    max-width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.article-image-item span {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.z6a8b1meta-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.z6a8b1tagitem a {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s;
}

.z6a8b1tagitem a:hover {
    background: var(--primary);
    color: #fff;
}

.clear {
    clear: both;
    width: 100%;
}

.article-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    flex-wrap: wrap;
}

.article-prev,
.article-next {
    flex: 1;
    min-width: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.article-prev a,
.article-next a {
    color: var(--text);
    text-decoration: none;
    word-break: break-all;
}

.article-prev a:hover,
.article-next a:hover {
    color: var(--primary);
}

/* ===== 相关推荐 ===== */
.related-articles {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    min-width: 0;
}

.related-articles h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.related-list {
    list-style: none;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    min-width: 0;
}

.related-item:last-child {
    border-bottom: none;
}

.related-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 64px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-info a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info a:hover {
    color: var(--primary);
}

.related-info p {
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 侧栏 ===== */
.sidebar {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    min-width: 0;
}

.sidebar-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    overflow: hidden;
}

.sidebar-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.sidebar-list {
    list-style: none;
    max-height: 80vh;
    overflow-y: auto;
}

.sidebar-item {
    border-bottom: 1px solid var(--border);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
    min-width: 0;
}

.sidebar-item a:hover .sidebar-text {
    color: var(--primary);
}

.sidebar-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-text {
    flex: 1;
    min-width: 0;
    font-size: 0.78rem;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .nav-links a {
        font-size: 0.78rem;
        padding: 5px 7px;
    }

    .article-home-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-row-3,
    .card-row-4,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-block {
        grid-template-columns: 1fr;
    }

    .page-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .sidebar-list {
        max-height: none;
    }

    .article-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 12px 16px;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        gap: 2px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.88rem;
        white-space: normal;
        border-radius: var(--radius);
        border-bottom: none;
    }

    .nav-links a.z6a8b1this {
        background: var(--primary-light);
        color: var(--primary);
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 56px;
    }

    .section {
        padding: 48px 0;
    }

    .card-row-2,
    .card-row-3,
    .card-row-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .trust-item strong {
        font-size: 1.15rem;
    }

    .article-list-item {
        flex-direction: column;
    }

    .article-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .article-detail {
        padding: 20px 16px;
    }

    .article-nav-links {
        flex-direction: column;
    }

    .article-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .info-card,
    .step-card,
    .feature-box,
    .dark-card,
    .contact-card,
    .split-content,
    .split-panel {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero {
        padding-top: calc(var(--header-h) + 28px);
        padding-bottom: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .article-home-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .article-home-item h3 {
        padding: 8px;
    }

    .article-home-item h3 a {
        font-size: 0.78rem;
    }

    .related-item {
        flex-direction: column;
    }

    .related-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .pagebar .pagelist a,
    .pagebar .pagelist span {
        padding: 5px 8px;
        font-size: 0.78rem;
    }

    .logo a {
        font-size: 0.92rem;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
}

/* ===== 打印 ===== */
@media print {
    .header,
    .mobile-menu-btn,
    .sidebar,
    .hero-actions,
    .pagebar {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .page-main {
        padding-top: 0;
    }
}
