/* 页面标题 */
.terms-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/beijing-1.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
    text-align: center;
}

.terms-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: "STXingkai", "华文行楷", serif;
}

.terms-header h1 i {
    margin-right: 15px;
}

.terms-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.update-time {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 主要内容 */
.terms-container {
    padding: 40px 0;
    background: #f8f9fa;
}

.terms-container .container {
    display: flex;
    gap: 30px;
}

/* 目录导航 */
.terms-nav {
    width: 250px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.terms-nav h2 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.terms-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-nav li {
    margin-bottom: 15px;
}

.terms-nav a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.terms-nav a:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.terms-nav a.active {
    background: var(--primary-color);
    color: white;
}

/* 服务条款内容 */
.terms-content {
    flex: 1;
}

.terms-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-content h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 25px 0 15px;
}

.section-content h3:first-child {
    margin-top: 0;
}

.section-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.section-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.section-content li {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.section-content li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.section-content li:last-child {
    margin-bottom: 0;
}

.section-content strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 5px;
}

/* 联系方式 */
.terms-contact {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.terms-contact h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.terms-contact p {
    color: #666;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .terms-container .container {
        flex-direction: column;
    }

    .terms-nav {
        width: 100%;
        position: static;
        margin-bottom: 30px;
    }

    .terms-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .terms-nav li {
        margin: 0;
    }

    .terms-section {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .contact-info {
        flex-direction: column;
    }
} 