/* 文章详情页专用样式 */

/* 面包屑导航 */
.breadcrumb {
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
    padding: 0 24px;
}

.breadcrumb a {
    color: #4a90e2;
    text-decoration: none;
}

/* 文章头部 */
.article-header {
    background: white;
    padding: clamp(24px, 4vw, 24px) 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #666;
}

.article-meta > span {
    display: inline-flex;
    align-items: center;
}

.brand-tag {
    background: #4a90e2;
    color: white;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.brand-tag:hover {
    background: #357abd;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-summary {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* 基本信息卡片 - 使用统一区域块样式 */
.info-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #e9ecef;
    width: 100%;
}

/* 第一行：商家官网和优惠码 */
.info-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.website-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.website-section .icon {
    font-size: 16px;
}

.website-section .label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.website-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #4a90e2;
}

.website-link:hover {
    border-bottom-style: solid;
}

.coupon-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-section .label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.coupon-code {
    background: #e8f4fd;
    color: #4a90e2;
    padding: 0 6px;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-weight: 700;
    font-size: 14px;
}

.coupon-discount {
    font-size: 12px;
    color: #f39c12;
    font-weight: 500;
}

.btn-copy, .btn-use {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-copy {
    background: #5cb85c;
    color: white;
}

.btn-copy:hover {
    background: #4cae4c;
}

.btn-use {
    background: #f39c12;
    color: white;
}

.btn-use:hover {
    background: #e67e22;
}

/* 第二行：四个信息块 */
.info-row-main {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: center;
}

.info-block {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 20px;
    margin-bottom: 8px;
    font-size: 14px;
}

.block-header .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-weight: normal !important;
    font-size: 1em;
}

.block-header .title {
    display: flex;
    align-items: center;
    height: 14px;
    font-size: 1em;
}

.block-content {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.route-tag {
    background: #e8f5e8;
    color: #5cb85c;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 6px;
}

.route-desc {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.isp-tag {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 4px;
    display: inline-block;
}

.isp-tag.telecom {
    background: #e8f4fd;
    color: #4a90e2;
}

.isp-tag.unicom {
    background: #fef2e8;
    color: #f39c12;
}

.isp-tag.mobile {
    background: #e8f5e8;
    color: #5cb85c;
}

.price {
    color: #e74c3c;
    font-size: 16px;
    font-weight: 700;
}

/* 第三行：测试IP */
.info-row-bottom {
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.testip-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testip-section .icon {
    font-size: 16px;
}

.testip-section .label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.ip-input {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 6px 12px;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    width: 140px;
    text-align: center;
}

.ip-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}



/* 主内容区 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 24px) 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
    position: relative;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    width: 900px;
    flex-shrink: 0;
}

.article-content {
    background: white;
    border-radius: clamp(4px, 1vw, 6px);
    padding: clamp(20px, 4vw, 32px);
    position: relative;
}

/* PC端侧边栏 */
.sidebar {
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: visible;
    flex-shrink: 0;
    position: sticky;
    top: 84px;
    align-self: flex-start;
}

.sidebar.hidden {
    transform: translateX(260px);
    pointer-events: none;
}

.widget {
    background: white;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.widget h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.widget h3::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #4a90e2;
}

/* 桌面端目录样式 */
.toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 3px;
    position: relative;
}

.toc a {
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
    position: relative;
    border-left: 3px solid transparent;
    font-size: 13px;
}

.toc a:hover {
    color: #4a90e2;
    background: #f8f9fa;
}

.toc a.active {
    color: #4a90e2;
    background: #e8f4fd;
    font-weight: 600;
}

/* 标题层级样式 */
.toc li.h1 a {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 8px 12px;
}

.toc li.h2 a {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    padding: 4px 8px;
}

.toc li.h3 a {
    font-size: 12px;
    color: #666;
    padding: 4px 8px;
    margin-left: 12px;
}

.toc li.h4 a {
    font-size: 11px;
    color: #777;
    padding: 4px 8px;
    margin-left: 16px;
}

.toc li.h5 a {
    font-size: 11px;
    color: #888;
    padding: 4px 8px;
    margin-left: 20px;
}

.toc li.h6 a {
    font-size: 10px;
    color: #999;
    padding: 3px 12px;
    margin-left: 24px;
}

/* 悬停和激活状态统一 */
.toc li.h1 a:hover,
.toc li.h1 a.active,
.toc li.h2 a:hover,
.toc li.h2 a.active,
.toc li.h3 a:hover,
.toc li.h3 a.active,
.toc li.h4 a:hover,
.toc li.h4 a.active,
.toc li.h5 a:hover,
.toc li.h5 a.active,
.toc li.h6 a:hover,
.toc li.h6 a.active {
    color: #4a90e2;
    background: #f0f8ff;
}



/* 移动端轻量目录 */
.mobile-toc-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 102;
    display: none;
}

/* 目录切换按钮 */
.mobile-toc-toggle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    color: #6b7280;
}

.mobile-toc-toggle:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #4a90e2;
}

.mobile-toc-toggle svg {
    width: 18px;
    height: 18px;
}

/* 轻量目录面板 */
.mobile-toc-panel {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 240px;
    max-height: 300px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
    transform: scale(0.9) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-toc-panel.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* 面板头部 */
.mobile-toc-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: rgba(248, 250, 252, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-toc-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.mobile-toc-close {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mobile-toc-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

/* 面板内容 */
.mobile-toc-content {
    max-height: 240px;
    overflow-y: auto;
    padding: 8px;
}

.mobile-toc-content::-webkit-scrollbar {
    width: 4px;
}

.mobile-toc-content::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-toc-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

/* 轻量目录项样式 */
.mobile-toc-content .toc {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-toc-content .toc li {
    margin-bottom: 2px;
}

.mobile-toc-content .toc a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.3;
    color: #6b7280;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
    border-left: 2px solid transparent;
}

.mobile-toc-content .toc a:hover {
    background: #f9fafb;
    color: #4a90e2;
}

.mobile-toc-content .toc a.active {
    background: #eff6ff;
    color: #4a90e2;
    font-weight: 500;
}

.mobile-toc-content .toc li.h3 {
    margin-left: 0;
}

.mobile-toc-content .toc li.h3 a {
    margin-left: 16px;
    font-size: 12px;
    color: #9ca3af;
}

.mobile-toc-content .toc li.h3 a:hover,
.mobile-toc-content .toc li.h3 a.active {
    color: #4a90e2;
}





/* 配置表格 */
.config-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.config-table th,
.config-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    line-height: 1.4;
}

.config-table th {
    background: #fafbfc;
    font-weight: 600;
    color: #2c3e50;
    font-size: 12px;
}

.config-table tr:hover {
    background: #f8f9fa;
}

.config-table tr:last-child td {
    border-bottom: none;
}

.config-table .price {
    font-weight: 700;
    color: #e74c3c;
    font-size: 13px;
    white-space: nowrap;
}

.buy-btn {
    background: #5cb85c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.buy-btn:hover {
    background: #4cae4c;
}

/* 代码块样式 */
.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #2c3e50;
}

/* 总结部分样式 */
.summary-overview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    border-left: 4px solid #4a90e2;
}

.summary-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* 优缺点分析 - 使用统一区域块样式 */
.pros-cons-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.pros-cons-section .pros-section, .pros-cons-section .cons-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #e9ecef;
}

/* 优缺点区域的标题使用统一样式 */
.pros-cons-section .pros-section .section-title,
.pros-cons-section .cons-section .section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    padding-left: unset;
}

.pros-cons-section .pros-section .section-title::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #28a745;
    top: unset;
    transform: unset;
}

.pros-cons-section .cons-section .section-title::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #dc3545;
    top: unset;
    transform: unset;
}

.pros-cons-section .points-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pros-cons-section .point-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}

.pros-cons-section .point-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.pros-cons-section .point-item.positive .point-indicator {
    background: #10b981;
}

.pros-cons-section .point-item.negative .point-indicator {
    background: #ef4444;
}

.pros-cons-section .point-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 2px 0;
}

.pros-cons-section .point-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}

/* 紧凑型套餐购买卡片 */
.single-plan-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    transition: all 0.2s ease;
}

.single-plan-card:hover {
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

.single-plan-card .plan-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.single-plan-card .plan-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single-plan-card .plan-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    position: unset;
    padding-left: unset;
}

.single-plan-card .plan-badge {
    background: #4a90e2;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

.single-plan-card .plan-price-section {
    text-align: right;
}

.single-plan-card .plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
}

.single-plan-card .plan-price-unit {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.single-plan-card .plan-original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-top: 2px;
}

.single-plan-card .plan-compact-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.single-plan-card .plan-specs-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.single-plan-card .spec-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #495057;
}

.single-plan-card .spec-label-compact {
    color: #666;
    font-weight: 500;
}

.single-plan-card .spec-value-compact {
    color: #2c3e50;
    font-weight: 600;
}

.single-plan-card .plan-features-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.single-plan-card .feature-compact {
    display: flex;
    gap: 4px;
    font-size: 12px;
    color: #28a745;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.single-plan-card .feature-compact .icon {
    font-size: 14px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    margin-right: 2px;
}

.single-plan-card .plan-actions-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.single-plan-card .plan-buy-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.single-plan-card .plan-buy-btn:hover {
    background: #357abd;
    transform: translateY(-1px);
}

.single-plan-card .plan-secondary-btn {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.single-plan-card .plan-secondary-btn:hover {
    border-color: #4a90e2;
    color: #4a90e2;
}

/* 综合评估 - 使用统一区域块样式 */
.final-assessment {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #e9ecef;
}

.final-assessment .assessment-header {
    text-align: center;
    margin-bottom: 24px;
}

.final-assessment .assessment-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.final-assessment .assessment-title::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #4a90e2;
    top: unset;
}

.final-assessment .section-subtitle {
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 clamp(12px, 2.5vw, 16px) 0;
    text-align: left;
}

.final-assessment .assessment-grid {
    display: flex;
    gap: clamp(20px, 5vw, 40px);
    margin-bottom: clamp(20px, 4vw, 32px);
    align-items: flex-start;
}

/* 评分区域 */
.final-assessment .rating-section {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.5vw, 16px);
    flex: 1;
}

.final-assessment .overall-rating {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 20px);
    padding: clamp(16px, 3vw, 20px);
    background: #f8fafc;
    border-radius: clamp(4px, 1vw, 6px);
    border: 1px solid #e2e8f0;
}

.final-assessment .rating-circle {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.final-assessment .rating-number {
    font-size: clamp(36px, 8vw, 48px);
    font-weight: 700;
    color: #059669;
    line-height: 1;
}

.final-assessment .rating-total {
    font-size: clamp(16px, 3.5vw, 20px);
    color: #6b7280;
    font-weight: 500;
}

.final-assessment .rating-text {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1vw, 6px);
}

.final-assessment .rating-label {
    font-size: clamp(14px, 3vw, 16px);
    color: #374151;
    font-weight: 500;
}

.final-assessment .rating-status {
    font-size: clamp(12px, 2.5vw, 14px);
    color: #059669;
    font-weight: 600;
    padding: clamp(3px, 1vw, 4px) clamp(8px, 2vw, 12px);
    background: #d1fae5;
    border-radius: clamp(16px, 4vw, 20px);
    display: inline-block;
    width: fit-content;
}

.final-assessment .rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.5vw, 16px);
}

.final-assessment .rating-item {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
}

.final-assessment .rating-name {
    font-size: clamp(12px, 2.5vw, 14px);
    color: #374151;
    font-weight: 500;
    min-width: clamp(50px, 12vw, 60px);
}

.final-assessment .rating-bar {
    flex: 1;
    height: clamp(6px, 1.5vw, 8px);
    background: #f3f4f6;
    border-radius: clamp(3px, 0.8vw, 4px);
    overflow: hidden;
}

.final-assessment .rating-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: clamp(3px, 0.8vw, 4px);
    transition: width 0.3s ease;
}

.final-assessment .rating-score {
    font-size: clamp(12px, 2.5vw, 14px);
    color: #059669;
    font-weight: 600;
    min-width: clamp(25px, 6vw, 30px);
    text-align: right;
}

/* 适用场景 */
.scenarios-section {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.5vw, 16px);
    flex: 1;
}

.scenarios-list {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2vw, 12px);
}

.scenario-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(12px, 3vw, 16px);
    background: #f9fafb;
    border-radius: clamp(6px, 1.5vw, 8px);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.scenario-card:hover {
    background: #f0f9ff;
    border-color: #3b82f6;
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
}

.scenario-icon {
    width: clamp(20px, 4vw, 24px);
    height: clamp(20px, 4vw, 24px);
    border-radius: clamp(4px, 1vw, 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 2.2vw, 12px);
    font-weight: 600;
    color: white;
}

.scenario-icon.business { background: #3b82f6; }
.scenario-icon.remote { background: #8b5cf6; }
.scenario-icon.ecommerce { background: #f59e0b; }
.scenario-icon.personal { background: #10b981; }

.scenario-icon.business::before { content: "企"; }
.scenario-icon.remote::before { content: "办"; }
.scenario-icon.ecommerce::before { content: "商"; }
.scenario-icon.personal::before { content: "个"; }

.scenario-name {
    font-size: clamp(12px, 2.5vw, 14px);
    color: #374151;
    font-weight: 500;
}

.scenario-match {
    font-size: clamp(10px, 2.2vw, 12px);
    font-weight: 600;
    padding: clamp(3px, 0.8vw, 4px) clamp(6px, 1.5vw, 8px);
    border-radius: clamp(4px, 1vw, 6px);
}

.scenario-match.excellent {
    background: #d1fae5;
    color: #065f46;
}

.scenario-match.good {
    background: #dbeafe;
    color: #1e40af;
}

/* 购买建议 */
.purchase-recommendation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(16px, 3vw, 24px);
    background: #f8f9fa;
    border-radius: clamp(4px, 1vw, 6px);
    border: 1px solid #e5e7eb;
    gap: clamp(16px, 3vw, 24px);
}

.recommendation-content h4 {
    font-size: clamp(16px, 3.5vw, 18px);
    font-weight: 600;
    margin: 0 0 clamp(6px, 1.5vw, 8px) 0;
    color: #1f2937;
}

.recommendation-content p {
    font-size: clamp(12px, 2.5vw, 14px);
    line-height: 1.6;
    margin: 0;
    color: #6b7280;
}

.buy-now-btn {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 8px);
    background: #4a90e2;
    color: white!important;
    padding: clamp(10px, 2.5vw, 12px) clamp(16px, 4vw, 24px);
    border-radius: clamp(6px, 1.5vw, 8px);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(12px, 2.5vw, 14px);
    transition: all 0.2s ease;
    white-space: nowrap;
    border: none;
    flex-shrink: 0;
}

.buy-now-btn:hover {
    background: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.btn-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.buy-now-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   文章内容标签样式优化 - 与主题UI契合
   ========================================================================== */

/* 标题样式 */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
    margin: 32px 0 16px 0;
    scroll-margin-top: 80px; /* 为锚点导航预留空间 */
}

.article-content h1 {
    font-size: 32px;
    font-weight: 700;
    border-bottom: 3px solid #4a90e2;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    margin-bottom: 20px;
    position: relative;
}

.article-content h2::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #4a90e2;
}

.article-content h3 {
    font-size: 22px;
    color: #4a90e2;
    margin-bottom: 16px;
    position: relative;
    padding-left: 16px;
}

.article-content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #4a90e2;
    border-radius: 2px;
}

.article-content h4 {
    font-size: 18px;
    color: #495057;
    margin-bottom: 14px;
    margin-top: 0;
}

.article-content h5 {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 12px;
}

.article-content h6 {
    font-size: 14px;
    color: #868e96;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 段落样式 */
.article-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 16px 0;
    text-align: justify;
}

.article-content p:first-child {
    margin-top: 0;
}

.article-content p:last-child {
    margin-bottom: 0;
}

/* 强调文本 */
.article-content strong,
.article-content b {
    font-weight: 600;
    color: #2c3e50;
}

.article-content em,
.article-content i {
    font-style: italic;
    color: #4a90e2;
}

/* 链接样式 */
.article-content a {
    color: #4a90e2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.article-content a:hover {
    color: #059669;
    border-bottom-color: #059669;
}

/* 引用块样式 */
.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #4a90e2;
    margin: 24px 0;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    position: relative;
    font-style: italic;
    color: #495057;
}

.article-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 48px;
    color: #4a90e2;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.article-content blockquote p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.article-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #6c757d;
    font-style: normal;
}

.article-content blockquote cite::before {
    content: "— ";
}

/* 通用列表样式优化 */
.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 0;
}

.article-content ul {
    list-style: none;
}

.article-content ol {
    list-style: none;
    counter-reset: list-counter;
}

.article-content li {
    position: relative;
    padding: 8px 0 8px 32px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #374151;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.article-content li:hover {
    background: #f8f9fa;
    padding-left: 36px;
}

/* 无序列表项目符号 */
.article-content ul > li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #4a90e2;
    border-radius: 50%;
}

/* 有序列表数字 */
.article-content ol > li {
    counter-increment: list-counter;
}

.article-content ol > li::before {
    content: counter(list-counter);
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 嵌套列表 */
.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
    margin: 8px 0;
    padding-left: 24px;
}

.article-content ul ul > li::before {
    background: #6c757d;
    width: 4px;
    height: 4px;
}

.article-content ol ol > li::before {
    background: #6c757d;
    font-size: 10px;
    width: 16px;
    height: 16px;
}

/* 代码样式 */
.article-content code {
    background: #f1f3f4;
    color: #d73a49;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e1e4e8;
}

.article-content pre {
    background: #f6f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    position: relative;
}

.article-content pre code {
    background: none;
    color: #24292e;
    padding: 0;
    border: none;
    font-size: 14px;
    line-height: 1.5;
}

/* 表格样式 */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.article-content table th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.article-content table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f3f4;
    color: #374151;
    font-size: 13px;
    line-height: 1.5;
}
.article-content table a{
    color: #fff;
}
.article-content table a:hover{
    color: #f5f5f5;
}
.article-content table tr:hover {
    background: #f8f9fa;
}

.article-content table tr:last-child td {
    border-bottom: none;
}

/* 分隔线样式 */
.article-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    margin: 32px 0;
    border-radius: 1px;
}

/* 图片样式 */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.article-content img:hover {
    transform: scale(1.02);
}

/* 图片说明文字 */
.article-content figure {
    margin: 24px 0;
    text-align: center;
}

.article-content figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

/* 键盘按键样式 */
.article-content kbd {
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 0 0 2px #fff inset;
    color: #333;
    display: inline-block;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 2px;
    padding: 2px 6px;
    white-space: nowrap;
}

/* 标记高亮样式 */
.article-content mark {
    background: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* 删除线样式 */
.article-content del,
.article-content s {
    color: #6c757d;
    text-decoration: line-through;
}

/* 下划线样式 */
.article-content u {
    text-decoration: underline;
    text-decoration-color: #4a90e2;
    text-underline-offset: 3px;
}

/* 小号文本 */
.article-content small {
    font-size: 12px;
    color: #6c757d;
}

/* 上标和下标 */
.article-content sup,
.article-content sub {
    font-size: 12px;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.article-content sup {
    top: -0.5em;
}

.article-content sub {
    bottom: -0.25em;
}

/* 缩写样式 */
.article-content abbr[title] {
    border-bottom: 1px dotted #4a90e2;
    cursor: help;
    text-decoration: none;
}

/* 地址样式 */
.article-content address {
    font-style: normal;
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 0 4px 4px 0;
}

/* 详情/摘要样式 */
.article-content details {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 16px 0;
    overflow: hidden;
}

.article-content summary {
    background: #e9ecef;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    user-select: none;
    transition: background 0.2s ease;
}

.article-content summary:hover {
    background: #dee2e6;
}

.article-content details[open] summary {
    border-bottom: 1px solid #dee2e6;
}

.article-content details > *:not(summary) {
    padding: 16px;
}

/* 定义列表样式 */
.article-content dl {
    margin: 20px 0;
}

.article-content dt {
    font-weight: 600;
    color: #2c3e50;
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 15px;
}

.article-content dd {
    margin: 0 0 8px 20px;
    color: #374151;
    line-height: 1.6;
    padding-left: 12px;
    border-left: 2px solid #e9ecef;
}

/* 特殊内容块样式 */
.article-content .info-box {
    background: #e8f4fd;
    border: 1px solid #b3d8ff;
    border-left: 4px solid #4a90e2;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
    position: relative;
}

.article-content .info-box::before {
    content: "ℹ";
    position: absolute;
    top: 16px;
    left: -12px;
    width: 24px;
    height: 24px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.article-content .warning-box {
    background: #fff8f0;
    border: 1px solid #ffe0c0;
    border-left: 4px solid #f39c12;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
    position: relative;
}

.article-content .warning-box::before {
    content: "⚠";
    position: absolute;
    top: 16px;
    left: -12px;
    width: 24px;
    height: 24px;
    background: #f39c12;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.article-content .success-box {
    background: #f0f8f0;
    border: 1px solid #b3e5b3;
    border-left: 4px solid #28a745;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
    position: relative;
}

.article-content .success-box::before {
    content: "✓";
    position: absolute;
    top: 16px;
    left: -12px;
    width: 24px;
    height: 24px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.article-content .error-box {
    background: #fdf2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc3545;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
    position: relative;
}

.article-content .error-box::before {
    content: "✕";
    position: absolute;
    top: 16px;
    left: -12px;
    width: 24px;
    height: 24px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* 按钮样式 */
.article-content .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 4px 8px 4px 0;
}

.article-content .btn:hover {
    background: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    color: white;
    border-bottom: none;
}

.article-content .btn-secondary {
    background: #6c757d;
}

.article-content .btn-secondary:hover {
    background: #545b62;
}

.article-content .btn-success {
    background: #28a745;
}

.article-content .btn-success:hover {
    background: #1e7e34;
}

.article-content .btn-warning {
    background: #ffc107;
    color: #212529;
}

.article-content .btn-warning:hover {
    background: #e0a800;
    color: #212529;
}

.article-content .btn-danger {
    background: #dc3545;
}

.article-content .btn-danger:hover {
    background: #c82333;
}

/* 徽章样式 */
.article-content .badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 4px;
    background: #6c757d;
    color: white;
    margin: 0 4px;
}

.article-content .badge-primary {
    background: #4a90e2;
}

.article-content .badge-success {
    background: #28a745;
}

.article-content .badge-warning {
    background: #ffc107;
    color: #212529;
}

.article-content .badge-danger {
    background: #dc3545;
}

.article-content .badge-info {
    background: #17a2b8;
}

/* ==========================================================================
   文章内容标签移动端响应式优化
   ========================================================================== */

@media (max-width: 768px) {
    /* 标题移动端优化 */
    .article-content h1 {
        font-size: 24px;
        margin: 24px 0 16px 0;
        padding-bottom: 8px;
    }
    .pros-cons-section .pros-section, .pros-cons-section .cons-section {
        padding: 12px;
    }
    .article-content h2 {
        font-size: 20px;
        margin: 20px 0 12px 0;
        padding-bottom: 6px;
    }

    .article-content h2::before {
        width: 40px;
    }

    .article-content h3 {
        font-size: 18px;
        margin: 16px 0 10px 0;
        padding-left: 12px;
    }

    .article-content h3::before {
        width: 3px;
        height: 16px;
    }

    .article-content h4 {
        font-size: 16px;
        margin: 14px 0 8px 0;
    }

    .article-content h5 {
        font-size: 14px;
        margin: 12px 0 6px 0;
    }

    .article-content h6 {
        font-size: 12px;
        margin: 10px 0 6px 0;
    }

    /* 段落移动端优化 */
    .article-content p {
        font-size: 15px;
        line-height: 1.6;
        margin: 12px 0;
    }

    /* 列表移动端优化 */
    .article-content li {
        font-size: 14px;
        padding: 6px 0 6px 28px;
        margin-bottom: 6px;
    }

    .article-content li:hover {
        padding-left: 32px;
    }

    .article-content ul > li::before {
        left: 10px;
        width: 5px;
        height: 5px;
    }

    .article-content ol > li::before {
        left: 6px;
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    /* 引用块移动端优化 */
    .article-content blockquote {
        margin: 16px 0;
        padding: 16px 20px;
        border-left-width: 3px;
    }

    .article-content blockquote::before {
        font-size: 36px;
        top: -8px;
        left: 12px;
    }

    .article-content blockquote p {
        font-size: 15px;
    }

    /* 代码移动端优化 */
    .article-content code {
        font-size: 13px;
        padding: 2px 4px;
    }

    .article-content pre {
        padding: 16px;
        margin: 16px 0;
        border-radius: 6px;
    }

    .article-content pre code {
        font-size: 13px;
        line-height: 1.4;
    }

    /* 表格移动端优化 */
    .article-content table {
        font-size: 13px;
        margin: 16px 0;
    }

    .article-content table th,
    .article-content table td {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* 特殊内容块移动端优化 */
    .article-content .info-box,
    .article-content .warning-box,
    .article-content .success-box,
    .article-content .error-box {
        padding: 12px 16px;
        margin: 16px 0;
        border-radius: 0 6px 6px 0;
    }

    .article-content .info-box::before,
    .article-content .warning-box::before,
    .article-content .success-box::before,
    .article-content .error-box::before {
        top: 12px;
        left: -10px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    /* 按钮移动端优化 */
    .article-content .btn {
        padding: 8px 16px;
        font-size: 13px;
        margin: 4px 4px 4px 0;
    }

    /* 徽章移动端优化 */
    .article-content .badge {
        font-size: 11px;
        padding: 3px 6px;
    }

    .single-plan-card .plan-name {
        font-size: 15px;
    }
    .single-plan-card .plan-price {
        font-size: 18px;
    }

    .testip-section {
        flex-wrap: nowrap;
        gap: 4px;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        width: 100%;
    }
    .testip-section .icon {
        font-size: 13px;
        flex-shrink: 0;
    }
    .testip-section .label {
        font-size: 12px;
        white-space: nowrap;
        min-width: auto;
        flex-shrink: 0;
    }
    .testip-section .ip-input {
        flex: 1 1 0%;
        min-width: 60px;
        font-size: 12px;
        padding: 4px 6px;
        margin: 0;
        max-width: 120px;
    }
    .testip-section .btn-copy {
        font-size: 11px;
        padding: 4px 6px;
        flex-shrink: 0;
        white-space: nowrap;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕优化 */
    .article-content h1 {
        font-size: 20px;
        margin: 20px 0 12px 0;
    }

    .article-content h2 {
        font-size: 18px;
        margin: 16px 0 10px 0;
    }

    .article-content h3 {
        font-size: 16px;
        margin: 14px 0 8px 0;
        padding-left: 10px;
    }

    .article-content h3::before {
        width: 2px;
        height: 14px;
    }

    .article-content p {
        font-size: 14px;
        margin: 10px 0;
    }

    .article-content li {
        font-size: 13px;
        padding: 4px 0 4px 24px;
    }

    .article-content li:hover {
        padding-left: 28px;
    }

    .article-content ul > li::before {
        left: 8px;
        width: 4px;
        height: 4px;
    }

    .article-content ol > li::before {
        left: 4px;
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .article-content blockquote {
        padding: 12px 16px;
        margin: 12px 0;
    }

    .article-content blockquote::before {
        font-size: 28px;
        top: -6px;
        left: 8px;
    }

    .article-content blockquote p {
        font-size: 14px;
    }

    .article-content table {
        font-size: 12px;
    }

    .article-content table th,
    .article-content table td {
        padding: 6px 8px;
        font-size: 11px;
    }

    .article-content .btn {
        padding: 6px 12px;
        font-size: 12px;
        width: 100%;
        margin: 4px 0;
        text-align: center;
    }
}

/* ==========================================================================
   相关文章推荐样式 - 与文章块统一但有区别
   ========================================================================== */

.related-posts-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    position: relative;
}

.related-posts-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.related-posts-title::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #6c757d;
}

.related-posts-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.related-post-item {
    position: relative;
    padding: 8px 0 8px 20px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.related-post-item:hover {
    background: rgba(108, 117, 125, 0.05);
    padding-left: 24px;
}

.related-post-item::before {
    content: "•";
    position: absolute;
    left: 8px;
    top: 8px;
    color: #6c757d;
    font-weight: bold;
    font-size: 14px;
}

.related-post-link {
    color: #495057;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    display: block;
    transition: color 0.2s ease;
    font-weight: 500;
}

.related-post-link:hover {
    color: #2c3e50;
}

/* 相关文章响应式优化 */
@media (max-width: 768px) {
    .related-posts-section {
        padding: 20px;
        margin: 20px 0;
        border-left-width: 3px;
    }

    .related-posts-title {
        font-size: 16px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .related-posts-title::before {
        width: 30px;
    }

    .related-posts-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .related-post-item {
        padding: 6px 0 6px 16px;
    }

    .related-post-item:hover {
        padding-left: 20px;
    }

    .related-post-item::before {
        left: 6px;
        top: 6px;
    }

    .related-post-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .related-posts-section {
        padding: 16px;
        margin: 16px 0;
        border-left-width: 2px;
    }

    .related-posts-title {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .related-posts-title::before {
        width: 25px;
    }

    .related-post-item {
        padding: 4px 0 4px 14px;
    }

    .related-post-item:hover {
        padding-left: 18px;
    }

    .related-post-item::before {
        left: 4px;
        top: 4px;
        font-size: 12px;
    }

    .related-post-link {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* 特殊列表样式 - 功能列表 */
.feature-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.feature-list ul {
    margin: 0;
}

.feature-list li {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li::before {
    display: none;
}

.feature-list li:hover {
    border-color: #4a90e2;
    background: #f0f8ff;
    padding-left: 16px;
}

/* 响应式设计 - 按照原型文件的断点 */
@media (max-width: 1400px) {
    .sidebar{
        display: none;
    }

    .mobile-toc-container {
        display: block;
    }
}

@media (min-width: 1401px) {
    .sidebar {
        display: flex;
    }

    .mobile-toc-container {
        display: none;
    }
}


@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .content-wrapper {
        width: 100%;
        max-width: 900px;
        margin: 0;
    }

    .article-content {
        width: 100%;
        margin: 0;
    }

    .sidebar {
        margin: 0;
    }

    .assessment-grid {
        gap: clamp(16px, 3vw, 24px);
    }

    .overall-rating {
        flex-direction: column;
        text-align: center;
        gap: clamp(12px, 2vw, 16px);
    }
}

@media (max-width: 768px) {
    /* 移动端取消面包屑上边距并减少padding */
    .breadcrumb {
        margin-top: 0;
        padding: 12px 0;
    }

    .breadcrumb-container {
        padding: 0 16px;
    }

    .main-content {
        padding: clamp(16px, 3vw, 24px) 0;
    }

    .article-content {
        padding: clamp(16px, 4vw, 24px);
        max-width: 100%;
    }

    .article-header {
        padding: clamp(12px, 3vw, 24px);
    }
    .article-meta {
        margin-bottom: 12px;
    }
    .article-title {
        font-size: clamp(24px, 5vw, 28px);
    }
    .header-container {
        padding: 0;
    }



    .info-card {
        padding: 16px;
        margin: 12px 0 0;
    }

    .info-row-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .coupon-section {
        flex-wrap: wrap;
        gap: 8px;
    }

    .info-row-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .info-block {
        min-width: 0;
    }

    .block-content {
        font-size: 13px;
        line-height: 1.3;
    }

    .isp-tag {
        font-size: 10px;
        padding: 2px 6px;
        margin: 1px 2px 1px 0;
        white-space: nowrap;
    }

    .route-tag {
        font-size: 11px;
        padding: 2px 6px;
    }

    .route-desc {
        font-size: 10px;
        margin-left: 4px;
    }

    .price {
        font-size: 16px;
    }

    .testip-section {
        flex-wrap: nowrap;
        gap: 6px;
        align-items: center;
        justify-content: flex-start;
    }

    .testip-section .icon {
        font-size: 14px;
        flex-shrink: 0;
    }

    .testip-section .label {
        font-size: 12px;
        white-space: nowrap;
        min-width: auto;
        flex-shrink: 0;
    }

    .ip-input {
        flex: 1;
        min-width: 80px;
        font-size: 12px;
        padding: 4px 8px;
        margin: 0;
    }

    .btn-copy {
        font-size: 11px;
        padding: 4px 8px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .purchase-recommendation {
        flex-direction: column;
        text-align: center;
        gap: clamp(12px, 3vw, 16px);
    }

    .recommendation-content {
        text-align: center;
    }

    .config-table {
        font-size: 12px;
        margin: 16px 0;
    }

    .config-table th,
    .config-table td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .config-table th {
        font-size: 10px;
    }

    .config-table .price {
        font-size: 11px;
    }

    .buy-btn {
        padding: 4px 8px;
        font-size: 10px;
    }

    /* 紧凑型套餐卡片移动端优化 */
    .single-plan-card {
        padding: 16px;
        margin: 16px 0;
    }

    .single-plan-card .plan-compact-header {
        margin-bottom: 12px;
    }

    .single-plan-card .plan-compact-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .single-plan-card .plan-specs-compact {
        gap: 12px;
    }

    .single-plan-card .spec-compact {
        font-size: 12px;
    }

    .single-plan-card .plan-features-compact {
        gap: 8px;
        margin-top: 8px;
    }

    .single-plan-card .plan-actions-compact {
        width: 100%;
        min-width: auto;
    }

    .single-plan-card .plan-buy-btn,
    .single-plan-card .plan-secondary-btn {
        width: 100%;
    }
}



@media (max-width: 480px) {
    .block-header .title {
        font-size: 12px;
    }

    .block-content {
        font-size: 12px;
    }

    .isp-tag {
        font-size: 9px;
        padding: 1px 4px;
        margin: 1px 1px 1px 0;
    }

    .route-tag {
        font-size: 10px;
        padding: 1px 4px;
    }

    .route-desc {
        font-size: 9px;
        margin-left: 2px;
    }

    .price {
        font-size: 14px;
    }

    .coupon-section {
        width: 100%;
        justify-content: flex-start;
    }

    .ip-input {
        width: 100%;
    }

    .btn-copy, .btn-use {
        width: auto;
        min-width: 60px;
        font-size: 12px;
        padding: 4px 8px;
    }

    .final-assessment {
        padding: clamp(16px, 4vw, 20px);
        margin: clamp(16px, 4vw, 20px) 0;
    }

    .overall-rating {
        padding: clamp(12px, 3vw, 16px);
    }

    .rating-number {
        font-size: clamp(28px, 8vw, 36px);
    }

    .buy-now-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 320px) {
    .main-content {
        padding: 12px 0;
    }

    .article-content {
        padding: 16px 12px;
    }

    .article-header {
        padding: 16px 0;
    }

    .nav-container,
    .breadcrumb-container,
    .header-container {
        padding: 0 12px;
    }

    .breadcrumb {
        padding: 8px 0;
    }
}



/* 极小屏幕优化 */
@media (max-width: 480px) {
    .testip-section {
        gap: 4px;
    }

    .testip-section .label {
        font-size: 11px;
    }

    .ip-input {
        font-size: 11px;
        padding: 3px 6px;
        min-width: 70px;
    }

    .btn-copy {
        font-size: 10px;
        padding: 3px 6px;
        min-width: 40px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .testip-section .icon {
        display: none; /* 隐藏图标节省空间 */
    }

    .testip-section .label {
        font-size: 10px;
        min-width: 30px;
    }

    .ip-input {
        font-size: 10px;
        padding: 2px 4px;
        min-width: 60px;
    }

    .btn-copy {
        font-size: 9px;
        padding: 2px 4px;
        min-width: 35px;
    }
}

.single-plan-card a {
    color: #4a90e2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}
.single-plan-card a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.payment-icons .icon {
  margin-right: 10px;
  font-weight: normal !important;
}
.payment-icons .icon:last-child {
  margin-right: 0;
}
.info-card .icon {
  font-weight: normal !important;
}

@media (max-width: 768px) {
  .info-row-top {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
  }
  .website-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .website-section .label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
  }
  .website-link {
    color: #1677FF;
    font-size: 14px;
    text-decoration: none;
    margin-left: 0;
    border: none;
    font-weight: 400;
  }
  .coupon-section {
    flex: 1;
    justify-content: flex-end;
    gap: 8px;
    font-size: 14px;
  }
  .coupon-section .label {
    color: #6b7280;
    font-size: 14px;
  }
  .coupon-code {
    background: #e8f4fd;
    color: #1677FF;
    padding: 0 6px;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-weight: 700;
    font-size: 14px;
  }
  .coupon-discount {
    font-size: 12px;
    color: #f39c12;
    font-weight: 500;
  }
  .btn-copy {
    background: #5cb85c;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border: none;
    cursor: pointer;
  }
  .info-row-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 16px;
    margin-bottom: 16px;
  }
  .info-block {
    display: contents;
  }
  .block-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
    height: auto;
    margin-bottom: 0;
  }
  .block-header .icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }
  .block-header .title {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
  }
  .block-content {
    text-align: right;
    font-size: 14px;
    color: #1f2937;
    font-weight: 400;
    line-height: 1.3;
  }
  .price {
    color: #e74c3c;
    font-size: 20px;
    font-weight: bold;
  }
  .payment-icons {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
  }
  .route-tag, .isp-tag, .route-desc { display: inline; font-size: 12px; }
  .block-content .status-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #10b981;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
  }
  .info-label, .info-value {
    grid-column: 1 / span 2;
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
  }
  .info-label {
    margin-bottom: 2px;
  }
  .info-value {
    color: #1677FF;
    text-align: left;
    word-break: break-all;
    font-size: 13px;
  }
  .info-row-bottom {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
  }
  .testip-section {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .testip-section .icon {
    font-size: 16px;
    color: #1677FF;
  }
  .testip-section .label {
    font-size: 13px;
    color: #6b7280;
  }
  .ip-input {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 6px 12px;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    width: 140px;
    text-align: center;
  }
  .btn-copy {
    background: #5cb85c;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border: none;
    cursor: pointer;
  }
  .info-row-bottom {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
  }
  .link-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
  }
  .link-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
  }
  .link {
    color: #1677FF;
    text-decoration: none;
    font-size: 13px;
    word-break: break-all;
  }
  .link:hover {
    text-decoration: underline;
  }
}

@media (max-width: 768px) {
  .coupon-discount,
  .coupon-section .btn-copy {
    display: none !important;
  }
}

/* 综合评估场景图标样式 */
.final-assessment .scenario-header .icon {
    font-style: normal !important;
    font-size: 16px;
    vertical-align: middle;
    margin-right: 8px;
    font-weight: normal !important;
}
.final-assessment .icon-business { color: #409eff; }
.final-assessment .icon-remote { color: #67c23a; }
.final-assessment .icon-ecommerce { color: #e67e22; }
.final-assessment .icon-personal { color: #f56c6c; }
.final-assessment .icon-default { color: #909399; }

/* 让表格的"购买"列整体右对齐，内容居中 */
.pricing-table th:last-child,
.pricing-table td:last-child {
    text-align: center;
    position: relative;
}
.pricing-table td:last-child {
    /* 使用flex让按钮水平居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 0;
}
.pricing-table td:last-child .buy-btn {
    margin: 0 auto;
}

.page .article-header {
    padding: 0;
}
.page .header-container {
    text-align: center;
    display: unset;
}
.page .article-title {
    text-align: center;
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 12px;
}

.page .breadcrumb-container {
    text-align: center;
}


