/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin: 0;
}

.logo a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255,255,255,0.2);
}

/* 主内容区 */
.main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.main .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 文章卡片 */
.articles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-card {
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.article-card:last-child {
    border-bottom: none;
}

.article-cover {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.article-meta .category {
    background: #667eea;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: #667eea;
}

.article-excerpt {
    color: #666;
    margin: 1rem 0;
    line-height: 1.8;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #764ba2;
}

/* 文章详情页 */
.article-detail {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-header {
    margin-bottom: 2rem;
}

.article-detail .article-title {
    font-size: 2rem;
    margin: 1rem 0;
}

.article-detail .article-excerpt {
    font-size: 1.1rem;
    color: #666;
    margin: 1rem 0;
}

.article-body {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: #764ba2;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.widget h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.category-list a:hover {
    color: #764ba2;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: white;
    text-align: center;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* 首頁橫幅 */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* 主工具區 */
.main-tool {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.calculator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calc-inputs .form-group {
    margin-bottom: 1rem;
}

.calc-inputs label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #333;
}

.calc-inputs input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-group .btn {
    flex: 1;
    padding: 0.6rem 1rem;
}

.calc-results {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
}

.calc-results h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.result-row:last-child {
    border-bottom: none;
}

.result-val {
    font-weight: 600;
}

/* 其他工具 */
.tools-links {
    margin-bottom: 2rem;
}

.tools-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.tool-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tool-link span:last-child {
    font-weight: 500;
}

/* 風險提示 */
.risk-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.risk-warning p {
    color: #856404;
    font-size: 0.95rem;
    margin: 0;
}

/* 首頁英雄區 */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 0;
    margin-bottom: 3rem;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-section > .hero-content > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-visual {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crypto-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.coin {
    position: absolute;
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.coin-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    color: #f7931a;
}

.coin-2 {
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
    color: #627eea;
}

.coin-3 {
    bottom: 10%;
    left: 40%;
    animation-delay: 1s;
    color: #26a17b;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 章节标题样式 */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* 工具展示区 */
.tools-showcase {
    margin-bottom: 4rem;
}

/* 功能特色區 */
.features-section {
    margin-top: 4rem;
    padding: 3rem 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.feature-item {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    background: #f8f9fa;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 适用场景区 */
.scenarios-section {
    margin-top: 4rem;
    padding: 3rem 0;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.scenario-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.scenario-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.scenario-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.scenario-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA 区域 */
.cta-section {
    margin-top: 4rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-family: inherit;
    font-weight: 500;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* 工具页面样式 */
.tools-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.tools-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.tools-header p {
    font-size: 1.1rem;
    color: #666;
}

/* 工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.tool-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* 工具详情页 */
.tool-page {
    max-width: 1000px;
    margin: 0 auto;
}

.tool-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.tool-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.tool-header p {
    font-size: 1.1rem;
    color: #666;
}

/* 计算器容器 */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.calculator-form input,
.calculator-form select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.calculator-form input:focus,
.calculator-form select:focus {
    outline: none;
    border-color: #667eea;
}

.calculator-form small {
    display: block;
    margin-top: 0.5rem;
    color: #999;
    font-size: 0.9rem;
}

.calculator-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.calculator-form .btn-secondary {
    margin-top: 0.5rem;
}

/* 计算结果 */
.calculator-result {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.calculator-result h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    white-space: nowrap;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-size: 1rem;
    opacity: 0.9;
}

.result-value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 工具说明 */
.tool-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tool-info h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tool-info ul {
    list-style: none;
    padding-left: 0;
}

.tool-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.tool-info li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.tool-info h3 + ul {
    margin-bottom: 2rem;
}

/* 按钮样式 */
.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main .container {
        grid-template-columns: 1fr;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        text-align: center;
    }
    
    .nav ul {
        gap: 0.8rem;
    }
    
    .article-detail .article-title {
        font-size: 1.5rem;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .tool-header h1 {
        font-size: 2rem;
    }
    
    .tools-header h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

.no-articles {
    text-align: center;
    padding: 3rem;
    color: #999;
}

/* 关于页面样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.page-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.page-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.page-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-content li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.page-content .highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.page-content .highlight-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.page-content .highlight-box p {
    color: rgba(255,255,255,0.9);
}

.page-content .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.page-content .info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.page-content .info-card h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.page-content .info-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 联系表单样式 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.contact-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

/* E-E-A-T 内容样式 */
.experience-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #667eea;
}

.experience-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.expertise-item:before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
}

.author-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.author-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.author-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.author-details h4 {
    color: #333;
    margin-bottom: 0.25rem;
}

.author-details p {
    color: #666;
    font-size: 0.9rem;
}

/* 风险提示样式 */
.risk-notice {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.risk-content {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.risk-content h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.risk-content p {
    color: #856404;
    line-height: 1.6;
}

/* 主工具区域样式 */
.tool-showcase {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.main-calculator {
    max-width: 900px;
    margin: 0 auto;
}

/* 相关文章样式 */
.related-articles {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.related-articles h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.related-card h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.related-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.related-card a:hover {
    color: #764ba2;
}

/* 分享区域 */
.share-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.share-section span {
    color: #666;
    margin-right: 1rem;
}

.share-link {
    color: #667eea;
    text-decoration: none;
    margin-right: 1rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid #667eea;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.share-link:hover {
    background: #667eea;
    color: white;
}

/* 文章标签 */
.article-tags {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.tag-label {
    color: #666;
    margin-right: 0.5rem;
}

.tag {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* 文章列表页样式 */
.articles-page {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.page-desc {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.article-card-image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.category-tag {
    background: #e8f4fd;
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-card-meta .date {
    color: #999;
    font-size: 0.85rem;
}

.article-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-card-title a:hover {
    color: #667eea;
}

.article-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.article-card-footer .views {
    color: #999;
    font-size: 0.85rem;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #4a5ce8;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.page-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
}

.seo-categories {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.seo-categories h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.cat-link {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.cat-link:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* 响应式 */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .category-filters {
        padding: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

