/* 全局样式 */
:root {
    /* 蓝色主题 - 默认 */
    --primary-color: #1a3a6c;
    --secondary-color: #c41e3a;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --primary-color-rgb: 26, 58, 108;
}

/* 红色主题 */
.theme-red {
    --primary-color: #8b0000;
    --secondary-color: #1a3a6c;
    --primary-color-rgb: 139, 0, 0;
}

/* 绿色主题 */
.theme-green {
    --primary-color: #006400;
    --secondary-color: #d4af37;
    --primary-color-rgb: 0, 100, 0;
}

/* 紫色主题 */
.theme-purple {
    --primary-color: #4b0082;
    --secondary-color: #ffd700;
    --primary-color-rgb: 75, 0, 130;
}

/* 橙色主题 - 新增 */
.theme-orange {
    --primary-color: #ff6600;
    --secondary-color: #003366;
    --primary-color-rgb: 255, 102, 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.title-a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.no-image {
    background-color: #f5f5f5;
}
.no-image img {
    opacity: 0;
}
.article-image.no-image::before {
    content: "暂无图片";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 500;
    z-index: 1;
}

/* 专题头部 */
.topic-header {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.9), rgba(var(--primary-color-rgb), 0.7)), url('../images/bg1.png') no-repeat center center;
    background-size: cover;
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

.topic-info h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
	letter-spacing: 2px;
}

.topic-info p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.topic-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
}

.btn-primary:hover {
    background-color: rgba(var(--primary-color-rgb), 0.8);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-outline:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-more {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-more:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 专题头部样式调整 */
.cover-page{
	zoom: 1.2;
}
#welcome{
	justify-content: flex-start;
	padding-top:20px;
}
.topic-header {
    position: relative;
    padding: 60px 0;
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/header-bg.jpg'); */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 10px;
}

.logo-container {
    flex: 0 0 200px;
}

.header-logo {
    max-width: 180px;
    height: auto;
	filter: brightness(0) invert(1);
}

.contact-info {
    display: flex;
	align-items: flex-start;
    padding-left: 20px;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.contact-item i {
    font-size: 16px;
    color: var(--primary-color);
}

/* 二维码行样式 */
.qrcode_condation{
	margin:60px 0;
}
.qrcode-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    padding: 25px 15px 15px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
	width:500px;
	margin:0 auto;
}
.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 5px;	
}

.qrcode-container img {
    width: 120px;
    height: 120px;
    border: 2px solid #fff;
    border-radius: 4px;
    background-color: #fff;
    padding: 5px;
    margin-bottom: 8px;
}

.qrcode-container span {
    color: #fff;
    font-size: 14px;
}

.qrcode-tip {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    font-style: italic;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qrcode-row {
        flex-direction: column;
        gap: 20px;
		width:auto;
    }
	.logo-container {
		flex: 0 0 30px;
		margin-top: 30px;
	}	
}

.topic-info {
    margin-bottom: 30px;
}

.topic-info h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.topic-info p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.topic-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .topic-info h1 {
        font-size: 28px;
    }
    
    .topic-info p {
        font-size: 16px;
    }
}

/* 专题介绍 */
.topic-intro {
    padding: 60px 0;
    background-color: #fff;
}

.intro-content {
    text-align: center;
}

.intro-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.intro-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.intro-content p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: #666;
}

.intro-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 200px;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* 通用部分样式 */
.topic-section {
    padding: 60px 0;
}

.topic-section:nth-child(odd) {
    background-color: #fff;
}

.topic-section:nth-child(even) {
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* 内容列表样式 */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.item-header {
    padding: 20px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-header h3 {
    font-size: 18px;
    color: var(--primary-color);
}

.views {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.item-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    padding: 0 20px 20px;
    gap: 5px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 带图片的列表项 */
.list-item.with-image {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .list-item.with-image {
        flex-direction: row;
    }
}

.item-image {
    flex: 0 0 300px;
    height: 200px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.list-item:hover .item-image img {
    transform: scale(1.1);
}

/* 网格内容样式 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.grid-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.item-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.item-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.grid-item .item-content {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
}

.grid-item h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.grid-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.item-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    gap: 5px;
    margin-top: auto;
}

.download-btn:hover {
    background-color: var(--secondary-color);
}

/* 案例网格 */
.cases-grid .grid-item {
    padding: 0;
}

.item-image {
    position: relative;
}

.item-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* 服务流程 */
.service-process {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.process-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.process-step {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 250px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--light-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.process-step h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-step p {
    color: #666;
    font-size: 14px;
}

/* 推荐产品 */
.recommended-products {
    padding: 60px 0;
    background-color: #fff;
}

.products-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.product-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 260px;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card.featured {
    border: 2px solid var(--secondary-color);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.product-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.product-price span {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.product-features {
    text-align: left;
    margin-bottom: 25px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.product-features i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
}

.buy-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.buy-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 在线咨询 */
.online-consult {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.consult-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .consult-container {
        grid-template-columns: 1fr 1fr;
    }
}

.consult-info {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), rgba(var(--primary-color-rgb), 0.8));
    color: var(--light-text);
}

.consult-info .section-header {
    text-align: left;
}

.consult-info .section-header h2 {
    color: var(--light-text);
}

.consult-info .section-header h2::after {
    left: 0;
    transform: none;
    background-color: var(--light-text);
}

.consult-info .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.consult-advantages {
    margin-bottom: 30px;
}

.advantage-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.advantage-icon i {
    font-size: 20px;
    color: var(--light-text);
}

.advantage-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.advantage-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info i {
    margin-right: 10px;
}

.consult-form {
    padding: 40px;
}

.consult-form h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.verification-group {
    margin-bottom: 15px;
}

.verification-container {
    display: flex;
    align-items: center;
}

.verification-container input {
    flex: 1;
}

.verification-msgcode {
    width: 80px;
    height: 40px;
    background-color: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333;
    margin: 0 10px;
    user-select: none;
}

#refreshCode {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f7fafc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#refreshCode:hover {
    background-color: #e2e8f0;
}

.agreement-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.agreement-group input {
    width: auto;
    margin-right: 10px;
}

.agreement-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.agreement-link {
    color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .topic-info h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .topic-info h1 {
        font-size: 28px;
    }
    
    .topic-info p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .intro-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .topic-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* 主题切换动画 */
body {
    transition: background-color 0.3s ease;
}

/* 金色主题 - 新增 */
.theme-gold {
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --primary-color-rgb: 212, 175, 55;
}

/* 青色主题 - 新增 */
.theme-teal {
    --primary-color: #008080;
    --secondary-color: #ff8c00;
    --primary-color-rgb: 0, 128, 128;
}

/* 主题切换器增强样式 */
.theme-btn.gold {
    background-color: #d4af37;
}

.theme-btn.teal {
    background-color: #008080;
}

/* 无障碍增强 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-navigation a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* 动画效果增强 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* 加载状态 */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid rgba(var(--primary-color-rgb), 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    z-index: 11;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 高对比度模式支持 */
@media (forced-colors: active) {
    .btn-primary,
    .btn-outline,
    .btn-more,
    .download-btn,
    .buy-btn,
    .submit-btn {
        forced-color-adjust: none;
    }
}

/* 热点问题样式 */
.hotspot-section {
    background-color: #f8f9fa;
}

.hotspot-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.hotspot-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hotspot-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.hotspot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hotspot-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hotspot-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.hotspot-content {
    flex: 1;
}

.hotspot-content h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hotspot-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.hotspot-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #888;
}

.hotspot-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    gap: 5px;
}

.hotspot-link:hover {
    color: var(--secondary-color);
}

.hotspot-link:hover i {
    transform: translateX(3px);
    transition: transform 0.3s ease;
}

/* 相关文章样式 */
.articles-section {
    background-color: #fff;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.article-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: #888;
}

.article-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    gap: 5px;
    align-self: flex-start;
}

.article-link:hover {
    color: var(--secondary-color);
}

.article-link:hover i {
    transform: translateX(3px);
    transition: transform 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hotspot-container {
        flex-direction: column;
    }
    
    .articles-container {
        grid-template-columns: 1fr;
    }
}

/* 常见问答折叠样式 */
.faq-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.faq-meta {
    display: flex;
    align-items: center;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active .toggle-icon i {
    transform: rotate(45deg);
}

.faq-question.active .toggle-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-question.active + .faq-answer {
    padding: 20px;
    max-height: 500px;
    border-top: 1px solid #eee;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item .read-more {
    margin-top: 10px;
    display: inline-flex;
}

/* 行政法规样式 */
.admin-laws-section {
    background-color: #f8f9fa;
}

.admin-laws-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.admin-laws-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-law-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.admin-law-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-law-item h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    transition: var(--transition);
}

.admin-law-item:hover h3 {
    color: var(--primary-color);
}

.law-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.admin-law-item:hover .law-link {
    background-color: var(--primary-color);
    color: #fff;
}

.law-link i {
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .admin-laws-container {
        flex-direction: column;
    }
}

/* 专家律师团队样式 */
.expert-lawyers-section {
    background-color: #f8f9fa;
}

.lawyers-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.lawyer-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    transition: var(--transition);
}

.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.lawyer-avatar {
    width: 180px;
    position: relative;
    overflow: hidden;
}

.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-badge {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 0 4px 4px 0;
}

.lawyer-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.lawyer-info h3 {
    font-size: 20px;
    margin: 0 0 5px 0;
    color: #333;
}

.lawyer-title {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 10px 0;
}

.lawyer-experience {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
}

.lawyer-intro {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.lawyer-contact {
    display: flex;
    gap: 15px;
}

.lawyer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.lawyer-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .lawyers-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .lawyer-card {
        flex-direction: column;
    }
    
    .lawyer-avatar {
        width: 100%;
        height: 200px;
    }
}

/* 页面右侧浮动导航菜单样式 */
.page-navigation {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 5px;
    transition: all 0.3s ease;
}

.page-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.page-navigation li {
    position: relative;
}

.page-navigation .nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #666;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 38px;
    height: 38px;
}

.page-navigation .nav-item i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.page-navigation .nav-item span {
    position: absolute;
    right: 100%;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.page-navigation .nav-item span:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-left: 5px solid var(--primary-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.page-navigation .nav-item:hover,
.page-navigation .nav-item.active {
    background-color: var(--primary-color);
    color: #fff;
}

.page-navigation .nav-item:hover span {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-navigation {
        right: 10px;
        padding: 10px 3px;
    }
    
    .page-navigation .nav-item {
        padding: 8px;
    }
    
    .page-navigation .nav-item i {
        font-size: 16px;
    }
}

/* 顶部导航栏样式 */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 40px;
    width: auto;
}

/*左侧栏目*/
.main-nav {
	position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
	background-color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 5px;
    transition: all 0.3s ease;
	opacity:0.7;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
	flex-direction: column;
}

.nav-menu > li {
    position: relative;
    margin: 0 15px;
}

.nav-menu > li > a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--primary-color);
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.user-actions {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-login {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.btn-login:hover {
    background-color: #f5f5f5;
}

.btn-register {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-register:hover {
    background-color: var(--primary-color-dark);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu > li {
        margin: 10px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .user-actions {
        flex-direction: column;
    }
    
    .theme-switcher-float {
        left: 10px;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 30px;
    }
    
    .user-actions {
        display: none;
    }
    
    .theme-switcher-panel {
        width: 150px;
    }
}

/* 平滑滚动设置 */
html {
    scroll-behavior: smooth;
}

/* 为锚点目标添加一些顶部内边距，避免内容被固定导航栏遮挡 */
section[id] {
    scroll-margin-top: 80px;
}

/* 添加一屏显示的section样式 */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
    box-sizing: border-box;
    position: relative;
}

/* 调整section内容布局 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    margin-bottom: 30px;
    text-align: center;
}

/* 添加滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 调整各个section的内容布局 */
.topic-header {
    /* min-height: calc(100vh - 70px); */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    /* margin-top: 70px; */
}

.topic-intro .intro-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    /* margin-top: 40px; */
}

.faq-section .content-list,
.hotspot-section .hotspot-container,
.articles-section .articles-container,
.templates-section .content-grid,
.lawyer-section .content-list,
.laws-section .content-list,
.admin-laws-section .admin-laws-container,
.cases-section .content-grid,
.expert-lawyers-section .lawyers-container {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding-right: 10px;
}

/* 美化滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-dark);
}

/* 响应式调整 */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .topic-header {
        min-height: auto;
    }
    
    .faq-section .content-list,
    .hotspot-section .hotspot-container,
    .articles-section .articles-container,
    .templates-section .content-grid,
    .lawyer-section .content-list,
    .laws-section .content-list,
    .admin-laws-section .admin-laws-container,
    .cases-section .content-grid,
    .expert-lawyers-section .lawyers-container {
        max-height: none;
        overflow-y: visible;
    }
}