/* 页面容器 */
.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 页面头部 */
.terms-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-link {
    display: inline-block;
    margin-bottom: 24px;
}

.logo {
    height: 32px;
    width: auto;
}

.terms-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* 主要内容 */
.terms-content {
    flex: 1;
    background: var(--bg-paper);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px;
}

.terms-section h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 24px 0 16px;
}

.terms-section p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

.terms-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.terms-section li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.terms-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* 页脚 */
.terms-footer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
}

.terms-footer p {
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

.separator {
    color: var(--border-light);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .terms-container {
        padding: 20px;
    }

    .terms-content {
        padding: 24px;
    }

    .terms-section h2 {
        font-size: 20px;
    }

    .terms-section h3 {
        font-size: 16px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 14px;
    }
}

/* 联系我们页面特殊样式 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-neutral);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact-item i {
    font-size: 24px;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-md);
}

.contact-detail {
    flex: 1;
}

.contact-detail h3 {
    font-size: 16px;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.contact-detail p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.text-muted {
    font-size: 12px !important;
    opacity: 0.8;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin-top: 12px;
    border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-item {
        padding: 16px;
    }

    .qr-code {
        width: 100px;
        height: 100px;
    }
} 