/* Wiseoo智换 - 微信转支付宝平台样式表 */
/* 符合百度/Google 移动端 SEO 的响应式设计 */

:root {
    --primary-color: #0064e6;
    --primary-dark: #004bb5;
    --secondary-color: #1677ff;
    --secondary-dark: #0958d9;
    --text-primary: #1f1f1f;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #f7f8fa;
    --bg-white: #ffffff;
    --border-color: #e5e6eb;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 屏幕阅读器专用 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 站点头部 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--bg-white);
}

.logo-icon {
    font-size: 28px;
    margin-right: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 主导航 - 默认显示 */
.main-nav {
    display: block;
}

/* 移动端隐藏汉堡菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端导航菜单 - 默认隐藏 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--primary-color);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.mobile-nav.active { display: block !important; } /* original */
.mobile-nav.active {
    display: block;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.mobile-nav-overlay.active { display: block !important; } /* original */
.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-nav-list li:last-child {
    border-bottom: none;
}

.mobile-nav-list a {
    display: block;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:active {
    background: rgba(0,0,0,0.1);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.mobile-nav-overlay.active { display: block !important; } /* original */
.mobile-nav-overlay.active {
    display: block;
}

/* 移动端显示导航 */
@media (max-width: 767px) {
    .menu-toggle {
        display: flex !important;
    }
    
    .main-nav {
        display: none !important;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg-white);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bg-white);
}

/* 主内容区域 */
.main-content {
    padding-top: 60px;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c4 50%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero-image {
    width: 420px;
    max-width: 92%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.18);
}

@media (max-width: 767px) {
    .hero-image {
        width: 280px;
    }
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 8px;
    opacity: 0.95;
    font-weight: 500;
}

.hero-desc {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* 通用区块样式 */
.section-header {
    text-align: center;
    padding: 40px 20px 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.section-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 优势区块 */
.advantages-section {
    background: var(--bg-white);
    padding-bottom: 30px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.advantage-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.advantage-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.advantage-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 服务区块 */
.service-section {
    background: var(--bg-light);
    padding-bottom: 30px;
}

.service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 30px 24px;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.service-wechat::before {
    background: linear-gradient(90deg, #0064e6, #3b82f6);
}

.service-alipay::before {
    background: linear-gradient(90deg, #1677ff, #4096ff);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 10px;
}

.btn-service {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 100, 230, 0.4);
}

/* 流程区块 */
.process-section {
    background: var(--bg-white);
    padding-bottom: 40px;
}

.process-steps {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    padding-left: 48px;
    height: 30px;
    display: flex;
    align-items: center;
}

.step-connector span {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    opacity: 0.4;
}

/* FAQ区块 */
.faq-section {
    background: var(--bg-light);
    padding-bottom: 30px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background 0.3s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '▼';
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-item[open] .faq-question {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 提示区块 */
.tips-section {
    background: var(--bg-white);
    padding-bottom: 30px;
}

.tips-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

.tips-list {
    list-style: none;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border-radius: var(--radius-lg);
    padding: 24px;
    border-left: 4px solid #ffc107;
}

.tips-list li {
    font-size: 14px;
    color: #856404;
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.tips-list li::before {
    content: '⚠️';
    flex-shrink: 0;
}

/* 联系区块 */
.contact-section {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding-bottom: 30px;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 32px;
}

.contact-label {
    font-size: 14px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: auto;
}

.contact-notice {
    max-width: 500px;
    margin: 20px auto 0;
    padding: 0 16px;
}

.contact-notice p {
    font-size: 13px;
    color: #1976d2;
    text-align: center;
    padding: 12px 16px;
    background: rgba(25, 118, 210, 0.1);
    border-radius: var(--radius-sm);
}

/* 信任区块 */
.trust-section {
    background: var(--bg-white);
    padding: 30px 16px;
    border-top: 1px solid var(--border-color);
}

.trust-grid {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.trust-icon {
    font-size: 24px;
}

.trust-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 页脚 */
.site-footer {
    background: #1a1a1a;
    color: var(--bg-white);
    padding: 40px 20px 100px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-stats strong {
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.footer-record {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.footer-record a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-record a:hover {
    color: var(--primary-color);
}

/* 浮动客服按钮 */
.float-service {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.service-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 100, 230, 0.4);
    transition: all 0.3s;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 100, 230, 0.5);
}

.service-btn-icon {
    font-size: 20px;
}

/* 响应式设计 */
@media (min-width: 640px) {
    .hero-title {
        font-size: 44px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .main-nav {
        display: block !important;
    }
    
    /* PC端：隐藏移动端导航 */
    .mobile-nav,
    .mobile-nav-overlay,
    .menu-toggle {
        display: none !important;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantages-grid .advantage-card:nth-child(4),
    .advantages-grid .advantage-card:nth-child(5),
    .advantages-grid .advantage-card:nth-child(6) {
        grid-column: span 1;
    }
    
    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 1000px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        width: 22%;
        padding: 20px 10px;
    }
    
    .step-number {
        margin-bottom: 12px;
    }
    
    .step-connector {
        display: none;
    }
}

/* 平板横屏和大屏幕手机 */
@media (max-width: 380px) {
    .hero-title {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 20px;
    }
}

/* 优化触摸体验 */
@media (hover: none) and (pointer: coarse) {
    .advantage-card:hover,
    .btn-service:hover,
    .service-btn:hover {
        transform: none;
    }
    
    .btn:active,
    .btn-service:active {
        transform: scale(0.98);
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .advantage-card,
    .service-card,
    .faq-item {
        border: 2px solid var(--text-primary);
    }
}

/* 专题文章推荐区域 */
.articles-section {
    padding: 60px 20px;
    background: #f8fdf9;
}

.articles-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    display: block;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #0064e6;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,100,230,0.12);
}

.article-card-tag {
    display: inline-block;
    background: #dbeafe;
    color: #0064e6;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-weight: 600;
}

.article-card-title {
    font-size: 15px;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.5;
    font-weight: 600;
}

.article-card-desc {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.articles-more {
    text-align: center;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .article-card {
        padding: 20px 24px;
    }

    .article-card-title {
        font-size: 16px;
    }

    .article-card-desc {
        font-size: 14px;
    }
}

/* ================= 新版文章页 ================= */
.article-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 92px 20px 48px;
}

.breadcrumb-nav {
    margin-bottom: 22px;
    color: #8a94a6;
    font-size: 13px;
    line-height: 1.7;
}

.breadcrumb-nav a {
    color: #004bb5;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span[aria-current="page"] {
    color: #667085;
}

.article-header {
    margin-bottom: 22px;
}

.article-header h1 {
    font-size: 32px;
    line-height: 1.45;
    color: #111827;
    margin: 0 0 14px;
    font-weight: 800;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #8a94a6;
    font-size: 13px;
}

.article-cover {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 22px 0;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.article-toc {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #0064e6;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 14px;
}

.article-toc strong {
    color: #111827;
    font-size: 15px;
}

.article-toc ol {
    margin: 10px 0 0;
    padding-left: 22px;
    columns: 2;
    column-gap: 30px;
}

.article-toc li {
    margin: 7px 0;
    break-inside: avoid;
    color: #004bb5;
}

.article-toc a {
    color: #004bb5;
    text-decoration: none;
}

.article-toc a:hover {
    text-decoration: underline;
}

.article-content {
    line-height: 1.95;
    color: #4b5563;
    font-size: 16px;
    word-break: break-word;
}

.article-content h2 {
    color: #1d4ed8;
    font-size: 22px;
    line-height: 1.5;
    margin: 36px 0 14px;
    padding-bottom: 9px;
    border-bottom: 2px solid #dbeafe;
    scroll-margin-top: 84px;
}

.article-content h3 {
    color: #27364a;
    font-size: 17px;
    margin: 22px 0 8px;
}

.article-content p {
    margin: 13px 0;
}

.article-content ul,
.article-content ol {
    margin: 12px 0 18px;
    padding-left: 24px;
}

.article-content li {
    margin: 8px 0;
}

.article-content a {
    color: #004bb5;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.article-lead {
    padding: 18px 20px;
    background: #eff6ff;
    border-left: 4px solid #0064e6;
    border-radius: 8px;
    color: #374151;
}

.table-wrap {
    overflow-x: auto;
    margin: 18px 0 24px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.article-content table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.7;
}

.article-content th,
.article-content td {
    padding: 13px 15px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
}

.article-content th {
    background: #eff6ff;
    color: #166534;
}

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

.notice {
    margin: 22px 0;
    padding: 18px 20px;
    background: #fff8e6;
    border: 1px solid #fde7b0;
    border-radius: 10px;
}

.notice h2 {
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #9a6700 !important;
    font-size: 18px !important;
}

.notice p {
    margin: 6px 0;
    color: #74520a;
}

.article-faq details {
    margin: 12px 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.article-faq summary {
    padding: 15px 18px;
    color: #27364a;
    font-weight: 600;
    cursor: pointer;
}

.article-faq details p {
    padding: 0 18px 16px;
    margin: 0;
}

.article-related {
    margin-top: 36px;
    padding: 20px 22px;
    background: #f7f8fa;
    border-radius: 10px;
    font-size: 14px;
}

.article-related strong {
    display: block;
    color: #111827;
    margin-bottom: 10px;
}

.article-related ul {
    margin: 0;
    padding-left: 20px;
}

.article-related li {
    margin: 8px 0;
}

.article-related a {
    color: #004bb5;
    text-decoration: none;
}

.article-related a:hover {
    text-decoration: underline;
}

.article-cta {
    margin-top: 30px;
    text-align: center;
}

.article-cta a {
    display: inline-block;
    padding: 14px 34px;
    background: linear-gradient(135deg, #0064e6, #004bb5);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 100, 230, 0.28);
}

.article-cta a:hover {
    transform: translateY(-2px);
}

.article-cta-note {
    margin: 12px 0 0;
    color: #8a94a6;
    font-size: 12px;
    line-height: 1.7;
}

.article-prevnext {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.article-prevnext a {
    flex: 1;
    padding: 14px 16px;
    background: #eff6ff;
    border-radius: 10px;
    color: #004bb5;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.2s;
}

.article-prevnext a:hover {
    background: #0064e6;
    color: #fff;
}

.article-prevnext a span {
    display: block;
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 4px;
}

.article-prevnext .next {
    text-align: right;
    margin-left: auto;
}

.article-prevnext .disabled {
    flex: 1;
}

/* ================= 专题聚合页 ================= */
.topics-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 96px 20px 56px;
}

.topics-hero {
    text-align: center;
    margin-bottom: 38px;
}

.topics-hero h1 {
    font-size: 32px;
    line-height: 1.4;
    color: #111827;
    margin: 0 0 12px;
}

.topics-hero p {
    max-width: 720px;
    margin: 0 auto 18px;
    color: #667085;
    font-size: 15px;
    line-height: 1.85;
}

.topics-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: #667085;
    font-size: 13px;
}

.topics-stats strong {
    color: #0064e6;
    font-size: 16px;
    margin-right: 2px;
}

.topic-group {
    margin-bottom: 40px;
}

.topic-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dbeafe;
}

.topic-group-head h2 {
    font-size: 22px;
    color: #111827;
    margin: 0;
}

.topic-group-head span {
    color: #8a94a6;
    font-size: 13px;
    white-space: nowrap;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.topic-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 24px;
    text-decoration: none;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 100, 230, 0.14);
    border-color: #93c5fd;
}

.topic-cat {
    align-self: flex-start;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.topic-card h3 {
    font-size: 17px;
    line-height: 1.55;
    color: #1f2937;
    margin: 0 0 10px;
    font-weight: 700;
}

.topic-card p {
    flex: 1;
    margin: 0 0 16px;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

.topic-more {
    color: #004bb5;
    font-size: 13px;
    font-weight: 600;
}

.topic-note {
    margin-top: 8px;
    padding: 18px 22px;
    background: #eff6ff;
    border-radius: 10px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.85;
}

.topic-note strong {
    color: #1d4ed8;
}

/* ================= 首页补充 ================= */
.section-figure {
    max-width: 860px;
    margin: 0 auto 26px;
    padding: 0 16px;
    text-align: center;
}

.section-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.about-section {
    background: var(--bg-white);
    padding-bottom: 40px;
}

.about-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.95;
    margin: 14px 0;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .article-page {
        padding: 80px 15px 36px;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .article-content {
        font-size: 15px;
        line-height: 1.85;
    }

    .article-content h2 {
        font-size: 19px;
    }

    .article-toc ol {
        columns: 1;
    }

    .article-prevnext {
        flex-direction: column;
    }

    .article-prevnext .next {
        text-align: left;
    }

    .topics-page {
        padding: 82px 15px 40px;
    }

    .topics-hero h1 {
        font-size: 24px;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .topic-group-head h2 {
        font-size: 19px;
    }
}

/* Wiseoo V2 增补样式：蓝色品牌、试算器、安全区、文章兼容 */
.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { line-height: 1.15; }
.logo-text small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.75);
}
.site-logo { min-width: 0; }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after { width: 100%; }

.hero-note {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    letter-spacing: 0.5px;
}
.hero-buttons { flex-direction: row; justify-content: center; flex-wrap: wrap; }

.calc-section, .guides-section, .safety-section { padding: 60px 20px; }
.calc-section .section-header, .safety-section .section-header { padding-top: 0; }
.guides-section .section-header { padding-top: 0; }

/* 文章正文兼容线上原有结构 */
.article-content .highlight-box {
    margin: 22px 0;
    padding: 18px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    color: #1e3a5f;
    font-size: 15px;
    line-height: 1.85;
}
.article-content .highlight-box strong { color: #0b3b8c; }
.article-content .table-wrap { overflow-x: auto; margin: 20px 0; }
.article-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.article-content th, .article-content td { padding: 10px 12px; border: 1px solid #e5e7eb; text-align: left; }
.article-content th { background: #f1f5fb; color: #111827; font-weight: 700; }
.article-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    background: #f8fafc;
    border-left: 4px solid #cbd5e1;
    color: #475569;
    border-radius: 8px;
}
.article-content img { max-width: 100%; height: auto; border-radius: 12px; }
.article-content a { color: var(--primary-color); }

/* 页脚免责声明 */
.footer-disclaimer {
    max-width: 760px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}
.footer-stats { flex-wrap: wrap; }
.footer-links { flex-wrap: wrap; }
.footer-beian {
    margin: 8px auto 0;
    font-size: 13px;
    text-align: center;
}
.footer-beian a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}
.footer-beian a:hover { color: #fff; text-decoration: underline; }

/* 首页试算器 */
.calc-section { background: #f1f6ff; }
.calc-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    background: #fff;
    border: 1px solid #dbe7fb;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(20, 60, 140, 0.10);
}
.calc-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 22px;
    background: #eef4ff;
    border-radius: 12px;
}
.calc-tabs button {
    padding: 9px 16px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #5b6b85;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.calc-tabs button.active {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 100, 230, 0.12);
}
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.calc-field label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}
.calc-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
}
.calc-input-wrap:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 100, 230, 0.10);
    background: #fff;
}
.calc-input-wrap span { color: #64748b; font-size: 15px; }
.calc-input-wrap input {
    width: 100%;
    padding: 13px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
}
.calc-hint { margin-top: 7px; color: #8a94a6; font-size: 12px; line-height: 1.6; }
.calc-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.calc-presets button {
    padding: 6px 12px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    cursor: pointer;
}
.calc-presets button:hover { border-color: var(--primary-color); color: var(--primary-color); }
.calc-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
    padding: 18px;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
}
.calc-result div { display: flex; flex-direction: column; gap: 4px; }
.calc-result span { color: #5b6b85; font-size: 12px; }
.calc-result strong { color: #0b3b8c; font-size: 26px; line-height: 1.2; }
.calc-note { margin-top: 14px; color: #8a94a6; font-size: 12px; line-height: 1.7; }

/* 首页安全区 */
.safety-section { background: #fff; }
.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}
.safety-card {
    padding: 24px;
    background: #f8fbff;
    border: 1px solid #dbe7fb;
    border-radius: 16px;
}
.safety-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #e0edff;
    color: var(--primary-color);
}
.safety-icon svg { width: 24px; height: 24px; }
.safety-card h3 { margin: 0 0 8px; color: #111827; font-size: 17px; }
.safety-card p { margin: 0; color: #667085; font-size: 14px; line-height: 1.8; }
.risk-box {
    padding: 22px 24px;
    background: #fff8ed;
    border: 1px solid #fde2b8;
    border-radius: 16px;
}
.risk-box h3 { margin: 0 0 10px; color: #8a4b0f; font-size: 16px; }
.risk-box ul { margin: 0; padding-left: 20px; color: #7c4a12; font-size: 14px; line-height: 1.9; }
.risk-box li::marker { color: #e0862f; }

/* 首页指南区 */
.guides-section { background: #f7f9fc; }
.guides-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.guides-more { color: var(--primary-color); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.guides-more:hover { text-decoration: underline; }

/* 联系方式 */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 720px;
    margin: 26px auto 0;
}
.contact-method {
    padding: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
}
.contact-method span { display: block; color: rgba(255, 255, 255, 0.72); font-size: 12px; margin-bottom: 6px; }
.contact-method strong { color: #fff; font-size: 17px; word-break: break-all; }

/* 错误页 */
.error-page { max-width: 720px; margin: 0 auto; padding: 110px 20px 70px; text-align: center; }
.error-code { margin: 0 0 4px; color: var(--primary-color); font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.error-wrap h1 { margin: 0 0 14px; color: #111827; font-size: 30px; }
.error-desc { max-width: 34em; margin: 0 auto 28px; color: #667085; font-size: 15px; line-height: 1.9; }
.error-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.error-actions .btn-primary { background: var(--primary-color); color: #fff; }
.error-actions .btn-primary:hover { background: var(--primary-dark); }
.error-actions .btn-secondary { background: #fff; color: var(--primary-color); border: 1px solid #bfdbfe; }
.error-actions .btn-secondary:hover { background: #eff6ff; color: var(--primary-color); }
.error-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #e5e7eb; }
.error-links a { color: #5b6b85; font-size: 13px; text-decoration: none; }
.error-links a:hover { color: var(--primary-color); text-decoration: underline; }

@media (max-width: 767px) {
    .calc-card { padding: 20px; }
    .calc-grid, .calc-result { grid-template-columns: 1fr; }
    .safety-grid, .contact-methods { grid-template-columns: 1fr; }
    .calc-result strong { font-size: 22px; }
    .guides-head { align-items: flex-start; flex-direction: column; }
    .hero-buttons { flex-direction: column; }
    .logo-text { font-size: 17px; }
    .logo-text small { font-size: 9px; letter-spacing: 1px; }
}
