/* ========================================
   LEGAL PAGES STYLES - BSL PRO
   Privacy Policy & Terms and Conditions
   Matching design system from other pages
   ======================================== */

/* ==============================================
   VARIABLES & GENERAL
   ============================================== */
:root {
    --primary-color: #304658;
    --secondary-color: #34465a;
    --text-color: #2c3e50;
    --text-light: #556b7d;
    --text-lighter: #8a9ba8;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ==============================================
   HERO SECTION
   ============================================== */
.legal-page-hero {
    background: linear-gradient(135deg, #304658 0%, #1e3a4d 100%);
    min-height: 350px;
}

/* ==============================================
   LEGAL CONTENT SECTION
   ============================================== */
.legal-content-section {
    padding: 90px 0;
    background: #ffffff;
}

.legal-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* ==============================================
   SIDEBAR NAVIGATION
   ============================================== */
.legal-sidebar {
    position: sticky;
    top: 100px;
}

.legal-nav {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.legal-nav-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

.legal-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav-list li {
    margin-bottom: 0.5rem;
}

.legal-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    font-weight: 500;
}

.legal-nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.legal-nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffd54f 100%);
    color: var(--primary-color);
    font-weight: 700;
}

/* ==============================================
   CONTACT BOX
   ============================================== */
.legal-contact-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a4d 100%);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    text-align: center;
}

.legal-contact-box h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.legal-contact-box p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.legal-contact-email {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.legal-contact-email:hover {
    background: #ffd54f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}

/* ==============================================
   MAIN CONTENT
   ============================================== */
.legal-main-content {
    background: white;
}

/* Intro Section */
.legal-intro {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-left: 4px solid var(--secondary-color);
}

.legal-intro-text {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-meta-item {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.legal-meta-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Legal Sections */
.legal-section {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    scroll-margin-top: 100px;
}

.legal-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.legal-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.legal-paragraph {
    margin-bottom: 1.5rem;
}

.legal-paragraph p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.legal-paragraph:last-child {
    margin-bottom: 0;
}

/* Lists in Legal Content */
.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.legal-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Subsections */
.legal-subsection {
    background: var(--bg-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.legal-subsection-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.legal-subsection p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* ==============================================
   CTA SECTION
   ============================================== */
.legal-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #304658 0%, #1e3a4d 100%);
}

.legal-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.legal-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.legal-cta-description {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.legal-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1.125rem 2.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

.legal-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
    background: #ffd54f;
}

.btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.legal-cta-button:hover .btn-arrow {
    transform: translateX(5px);
}

/* ==============================================
   ANIMATIONS
   ============================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 1024px) {
    .legal-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .legal-nav {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .legal-content-section {
        padding: 60px 0;
    }

    .legal-sidebar {
        grid-template-columns: 1fr;
    }

    .legal-section {
        padding: 2rem;
    }

    .legal-section-title {
        font-size: 1.5rem;
    }

    .legal-intro {
        padding: 2rem;
    }

    .legal-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .legal-cta-section {
        padding: 90px 0;
    }

    .legal-cta-title {
        font-size: 2rem;
    }

    .legal-cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-content-section {
        padding: 45px 0;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .legal-section-title {
        font-size: 1.25rem;
    }

    .legal-intro {
        padding: 1.5rem;
    }

    .legal-nav {
        padding: 1.5rem;
    }

    .legal-contact-box {
        padding: 1.5rem;
    }

    .legal-cta-section {
        padding: 60px 0;
    }

    .legal-cta-title {
        font-size: 1.75rem;
    }

    .legal-cta-description {
        font-size: 0.9375rem;
    }

    .legal-cta-button {
        width: 100%;
        justify-content: center;
    }
}
