/* 服务条款页面样式 */

/* 页面头部横幅 */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    margin-top: -80px; /* 抵消body的padding-top */
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: white;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: white;
    font-weight: 500;
}

/* 条款内容 */
.terms-content {
    padding: 80px 0;
    background: white;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* 协议介绍 */
.agreement-intro {
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    border-left: 4px solid #667eea;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    text-align: center;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 16px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-text strong {
    color: #2d3748;
    font-weight: 600;
}

/* 条款列表 */
.terms-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.term-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.term-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}

.term-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 32px;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.term-content {
    padding: 32px;
}

.term-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin: 24px 0 16px 0;
}

.term-subtitle:first-child {
    margin-top: 0;
}

.term-paragraph {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 16px;
    text-align: justify;
}

.term-paragraph:last-child {
    margin-bottom: 0;
}

.term-paragraph strong {
    color: #2d3748;
    font-weight: 600;
}

/* 联系信息 */
.contact-info {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    text-align: center;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #667eea;
    flex-shrink: 0;
}

.contact-item span {
    color: #4a5568;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .agreement-intro {
        padding: 24px;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .term-title {
        padding: 20px 24px;
        font-size: 1.125rem;
    }
    
    .term-content {
        padding: 24px;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .content-wrapper {
        padding: 0 16px;
    }
    
    .agreement-intro {
        padding: 20px;
    }
    
    .term-content {
        padding: 20px;
    }
    
    .contact-info {
        padding: 24px;
    }
}