/* ====================================
   VS Real Legal Pages Styles (Terms & Conditions, Privacy Policy, Disclaimer)
   ==================================== */

/* ====================================
   General Legal Styles
   ==================================== */
.legal-page {
    background-color: #f9f9f9;
}

.vs-legal-section {
    padding: 80px 0;
    background-color: white;
}

.vs-legal-content {
    background-color: white;
}

.vs-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
    border-bottom: 3px solid #FFB800;
    padding-bottom: 1rem;
}

.vs-last-updated {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-bottom: 2rem;
}

/* ====================================
   Article Styles
   ==================================== */
.vs-legal-article {
    margin-bottom: 3rem;
    padding: 25px;
    background-color: #FFF9E6;
    border-left: 4px solid #FFB800;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.vs-legal-article:hover {
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.15);
    transform: translateX(5px);
}

.vs-article-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vs-article-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #FFB800;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ====================================
   Text Styles
   ==================================== */
.vs-legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.vs-legal-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* ====================================
   List Styles
   ==================================== */
.vs-legal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.vs-legal-list li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    list-style: none;
    letter-spacing: 1px;
}

.vs-legal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FFB800;
    font-weight: bold;
    width: 20px;
    display: flex;
    align-items: center;
}

/* ====================================
   Nested List Styles
   ==================================== */
.vs-nested-list {
    list-style: none;
    padding-left: 25px;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.vs-nested-list li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    padding-left: 20px;
    color: #555;
}

.vs-nested-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFB800;
}

/* ====================================
   Responsive Styles
   ==================================== */
@media (max-width: 992px) {
    .vs-section-title {
        font-size: 2rem;
    }

    .vs-legal-section {
        padding: 60px 0;
    }

    .vs-legal-article {
        padding: 20px;
    }

    .vs-article-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .vs-section-title {
        font-size: 1.8rem;
    }

    .vs-legal-section {
        padding: 50px 0;
    }

    .vs-legal-article {
        padding: 15px;
        margin-bottom: 2rem;
    }

    .vs-article-title {
        font-size: 1.1rem;
    }

    .vs-legal-content p {
        font-size: 0.95rem;
    }

    .vs-legal-list li {
        font-size: 0.9rem;
        padding-left: 22px;
    }

    .vs-nested-list li {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .vs-section-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .vs-last-updated {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .vs-legal-section {
        padding: 40px 0;
    }

    .vs-legal-article {
        padding: 12px;
        margin-bottom: 1.5rem;
        border-left-width: 3px;
    }

    .vs-article-title {
        font-size: 1rem;
        gap: 8px;
    }

    .vs-article-title::before {
        width: 6px;
        height: 6px;
    }

    .vs-legal-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.7;
    }

    .vs-legal-list li {
        font-size: 0.85rem;
        padding-left: 20px;
        margin-bottom: 0.6rem;
    }

    .vs-nested-list {
        padding-left: 20px;
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .vs-nested-list li {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
}

/* ====================================
   Animation Styles
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vs-legal-article {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.vs-legal-article:nth-child(1) {
    animation-delay: 0.1s;
}

.vs-legal-article:nth-child(2) {
    animation-delay: 0.2s;
}

.vs-legal-article:nth-child(3) {
    animation-delay: 0.3s;
}

.vs-legal-article:nth-child(4) {
    animation-delay: 0.4s;
}

.vs-legal-article:nth-child(5) {
    animation-delay: 0.5s;
}

.vs-legal-article:nth-child(6) {
    animation-delay: 0.6s;
}

.vs-legal-article:nth-child(7) {
    animation-delay: 0.7s;
}

.vs-legal-article:nth-child(8) {
    animation-delay: 0.8s;
}

.vs-legal-article:nth-child(9) {
    animation-delay: 0.9s;
}

.vs-legal-article:nth-child(10) {
    animation-delay: 1s;
}

/* ====================================
   Print Styles
   ==================================== */
@media print {
    .vs-legal-section {
        padding: 0;
    }

    .vs-legal-article {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .vs-section-title {
        page-break-after: avoid;
    }
}

/* ====================================
   Focus and Accessibility
   ==================================== */
.vs-legal-article:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.3);
    outline: none;
}

.vs-article-title:focus,
.vs-article-title:hover {
    color: #FFB800;
}

/* ====================================
   Smooth Scrolling
   ==================================== */
html {
    scroll-behavior: smooth;
}

/* ====================================
   Link Styles within Legal Content
   ==================================== */
.vs-legal-content a {
    color: #FFB800;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.vs-legal-content a:hover {
    color: #E6A400;
    border-bottom-color: #FFB800;
}

.vs-legal-content a:focus {
    outline: 2px solid #FFB800;
    outline-offset: 2px;
}
