.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>') no-repeat bottom center;
    background-size: cover;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.article-container {
    padding: 60px 0;
}

.article-main {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.article-meta {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.article-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    padding-left: 15px;
    border-left: 4px solid var(--secondary-color);
}

.article-content h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin: 25px 0 12px 0;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

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

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 5px;
}

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

.article-content .tip-box {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-left: 4px solid var(--success-color);
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    margin: 5px 5px 5px 0;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sidebar-container {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-container::-webkit-scrollbar {
    width: 6px;
}

.sidebar-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.sidebar-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.sidebar-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.sidebar h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.author-info {
    text-align: center;
    margin-bottom: 30px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--secondary-color);
    padding: 3px;
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.toc-list, .related-list {
    list-style: none;
    padding: 0;
}

.toc-list li, .related-list li {
    margin-bottom: 10px;
}

.toc-list a, .related-list a {
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-list a:hover, .related-list a:hover {
    background: #f8f9fa;
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.share-wechat { background: #1aad19; }
.share-weibo { background: #e6162d; }
.share-qq { background: #12b7f5; }

.phone-marketing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.phone-marketing-content {
    position: relative;
    z-index: 2;
}

.phone-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.phone-icon {
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 20%, 50%, 80%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    60% { transform: rotate(-5deg); }
    70% { transform: rotate(5deg); }
}

.marketing-features {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.marketing-feature {
    flex: 1;
    min-width: 80px;
    padding: 10px;
}

.marketing-feature i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: block;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.nav-btn {
    flex: 1;
    padding: 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-btn-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.nav-btn-text {
    font-weight: 600;
    font-size: 1rem;
}

.qr-code-container {
    display: inline-block;
}

@media (max-width: 768px) {
    .article-main {
        padding: 25px 20px;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .sidebar-container {
        position: relative;
        top: 0;
        max-height: none;
        overflow-y: visible;
    }
    
    .phone-number {
        font-size: 1.8rem;
    }
    
    .marketing-features {
        justify-content: center;
    }
}