
.document-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-bottom: 2px solid var(--text-hover);
    position: relative;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.document-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-hover);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.document-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.document-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--border-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.document-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--text-hover) 0%, var(--text-muted) 50%, var(--text-hover) 100%);
}

.document-section:hover {
    border-color: var(--text-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-hover);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-secondary);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--text-hover), var(--text-secondary));
    color: var(--color-on-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--shadow-color);
    border: 2px solid var(--text-muted);
}

.section-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.section-content p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.section-content ul {
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.section-content li {
    margin-bottom: 1rem;
    position: relative;
    list-style: none;
    padding-left: 1.5rem;
}

.section-content li::before {
    content: '■';
    color: var(--text-hover);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.section-content strong {
    color: var(--text-hover);
    font-weight: 700;
}

.section-content a {
    color: var(--text-hover);
    text-decoration: none;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .section-content a {
    background-color: rgba(0, 0, 0, 0.05);
}

.section-content a:hover {
    background-color: var(--text-hover);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

.highlight-box {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-hover));
    border: 2px solid var(--text-hover);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    position: relative;
}

.highlight-box::before {
    content: '!';
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--text-hover);
    color: var(--color-on-accent);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.highlight-box strong {
    color: var(--text-hover);
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-hover));
    border: 3px solid var(--text-hover);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--text-hover), var(--text-muted), var(--text-hover));
    border-radius: 18px;
    z-index: -1;
}

.contact-info h3 {
    color: var(--text-hover);
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info p {
    margin: 1rem 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--text-hover);
    text-decoration: none;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .contact-info a {
    background-color: rgba(0, 0, 0, 0.05);
}

.contact-info a:hover {
    background-color: var(--text-hover);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

.agreement-section {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-hover));
    border: 3px solid var(--text-hover);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 8px 25px var(--shadow-light);
}

.agreement-section h3 {
    color: var(--text-hover);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agreement-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.last-updated {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 3rem;
    padding: 2rem;
    border-top: 2px solid var(--border-hover);
    background-color: var(--bg-primary);
    border-radius: 8px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .document-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .document-section {
        padding: 2rem;
    }

    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .document-title {
        font-size: 2.2rem;
    }

    .document-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .document-section {
        padding: 1.5rem;
    }

    .section-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}