/* Main Content */
main {
    padding-top: 100px;
    padding-bottom: 80px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f7ff 0%, #ffffff 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.page-header p {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.last-updated {
    text-align: center;
    margin-bottom: 40px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ea 100%);
    border-radius: 12px;
    color: #6e6e73;
    font-style: italic;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.last-updated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.last-updated:hover::before {
    opacity: 1;
}

.last-updated:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 62, 190, 0.1);
}

.last-updated::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.01) 0%, rgba(110, 85, 210, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.content:hover::before {
    opacity: 1;
}

.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 62, 190, 0.1);
}

.content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1d1d1f;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f5f7;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    transition: width 0.4s ease;
}

.content h2:hover::before {
    width: 100px;
}

.content h2:first-child {
    margin-top: 0;
}

.content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #5A3EBE;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content h3::before {
    content: '';
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    border-radius: 50%;
}

.content p {
    margin-bottom: 15px;
    color: #1d1d1f;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.content ul {
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
    z-index: 1;
}

.content li {
    margin-bottom: 8px;
    color: #1d1d1f;
    position: relative;
}

.content li::marker {
    color: #5A3EBE;
}

.highlight-box {
    background: linear-gradient(135deg, #f8f7ff 0%, #e8e7ff 100%);
    border-left: 4px solid #5A3EBE;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.highlight-box:hover::before {
    opacity: 1;
}

.highlight-box:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(90, 62, 190, 0.15);
}

.highlight-box h3 {
    color: #5A3EBE;
    margin-top: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box h3::before {
    content: '';
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.highlight-box:hover h3::before {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 4px 15px rgba(90, 62, 190, 0.3);
}

.highlight-box p, .highlight-box ul {
    position: relative;
    z-index: 1;
}

.privacy-icon {
    width: 16px;
    height: 16px;
    color: white;
}

.contact-info {
    background: linear-gradient(135deg, #e8e8ea 0%, #f0f0f0 100%);
    color: #1d1d1f;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-info:hover::before {
    opacity: 1;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 62, 190, 0.15);
}

.contact-info h3 {
    color: #5A3EBE;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info p {
    position: relative;
    z-index: 1;
    color: #1d1d1f;
}

.contact-info a {
    color: #5A3EBE;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-info a:hover {
    transform: translateY(-1px);
}

/* Table of Contents */
.table-of-contents {
    background: linear-gradient(135deg, #f8f7ff 0%, #e8e7ff 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.table-of-contents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.table-of-contents:hover::before {
    opacity: 1;
}

.table-of-contents:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(90, 62, 190, 0.1);
}

.table-of-contents h3 {
    color: #5A3EBE;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.toc-list a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #5A3EBE;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toc-list a:hover::before {
    transform: scale(1.5);
    box-shadow: 0 0 8px rgba(90, 62, 190, 0.5);
}

.toc-list a:hover {
    color: #5A3EBE;
    transform: translateX(8px);
}

.warning-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    border-left: 4px solid #ef4444;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.warning-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.warning-box:hover::before {
    opacity: 1;
}

.warning-box:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.15);
}

.warning-box h3 {
    color: #dc2626;
    margin-top: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box h3::before {
    content: '';
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.warning-box:hover h3::before {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.warning-box p, .warning-box ul {
    position: relative;
    z-index: 1;
}

.warning-icon {
    width: 16px;
    height: 16px;
    color: white;
}

.info-icon {
    width: 16px;
    height: 16px;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .content {
        padding: 30px 20px;
    }

    .container {
        padding: 0 15px;
    }
}