/* 协议页面专用样式 */

/* 协议导航区域 */
.agreement-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.agreement-nav-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.agreement-nav-content p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* 协议部分导航网格 */
.agreement-sections {
    padding: 5rem 0;
    background: var(--bg-light);
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.section-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: block;
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition);
}

.section-card:hover::before {
    transform: scaleY(1);
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.section-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.section-card:hover .section-number {
    opacity: 0.4;
    transform: scale(1.1);
}

.section-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.section-card:hover .section-link {
    transform: translateX(5px);
}

/* 协议内容区域 */
.agreement-content {
    padding: 3rem 0 5rem;
    background: var(--bg-white);
    min-height: calc(100vh - 200px);
}

.agreement-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

.agreement-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.agreement-meta {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 协议正文 */
.agreement-body {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.agreement-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-light);
}

.agreement-section:last-of-type {
    border-bottom: none;
}

.agreement-section h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-top: 1rem;
}

.agreement-section h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.agreement-section p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: justify;
}

.agreement-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.agreement-section li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.agreement-section li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 协议页脚 */
.agreement-footer {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.agreement-footer p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.agreement-footer strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.agreement-date {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 协议导航按钮 */
.agreement-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .agreement-nav-content h1 {
        font-size: 2rem;
    }

    .agreement-nav-content p {
        font-size: 1rem;
    }

    .sections-grid {
        grid-template-columns: 1fr;
    }

    .agreement-header h1 {
        font-size: 2rem;
    }

    .agreement-section h2 {
        font-size: 1.5rem;
    }

    .agreement-navigation {
        flex-direction: column;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .agreement-nav {
        padding: 100px 0 40px;
    }

    .agreement-content {
        padding: 2rem 0 3rem;
    }

    .agreement-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .section-card {
        padding: 1.5rem;
    }
}
