/* Legal Pages Shared Styles */

/* Page Layout */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 20px 60px;
    min-height: calc(100vh - 200px);
}

/* Page Header */
.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.legal-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 15px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.last-updated {
    color: rgba(248, 250, 252, 0.7);
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 10px;
}

/* Content Sections */
.legal-content {
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 50px;
    padding: 35px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    border-left: 5px solid var(--primary-color);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.legal-section:hover {
    background: rgba(30, 41, 59, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-left-color: var(--primary-light);
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(215, 223, 35, 0.3);
    position: relative;
    z-index: 1;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--light-color);
    margin: 30px 0 20px;
    position: relative;
    z-index: 1;
}

.legal-section p {
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.legal-section ul {
    margin: 25px 0;
    padding-right: 25px;
    position: relative;
    z-index: 1;
}

.legal-section li {
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 15px;
    position: relative;
    padding-right: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.legal-section li::before {
    content: "●";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    top: 2px;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
    font-weight: 500;
}

.legal-section a:hover {
    color: var(--primary-light);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(215, 223, 35, 0.3);
}

/* Contact Information Box */
.contact-info {
    background: linear-gradient(135deg, rgba(215, 223, 35, 0.15), rgba(215, 223, 35, 0.05));
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    border: 2px solid rgba(215, 223, 35, 0.3);
    position: relative;
    overflow: hidden;
}



.contact-info p {
    margin-bottom: 15px;
    color: var(--light-color);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Navigation Breadcrumb */
.breadcrumb {
    margin-bottom: 40px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(248, 250, 252, 0.1);
}

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

.breadcrumb a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.breadcrumb span {
    color: rgba(248, 250, 252, 0.6);
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-page {
        padding: 120px 15px 40px;
    }
    
    .legal-header h1 {
        font-size: 2.2rem;
    }
    
    .legal-section {
        padding: 25px;
        margin-bottom: 35px;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
    }
    
    .legal-section h3 {
        font-size: 1.3rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 100px 10px 30px;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .legal-section ul {
        padding-right: 20px;
    }
    
    .legal-section li {
        padding-right: 20px;
    }
    
    .contact-info {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .legal-page {
        padding: 20px;
        max-width: none;
    }
    
    .legal-section {
        background: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    
    .legal-header h1 {
        color: #000;
        background: none;
        -webkit-text-fill-color: initial;
    }
    
    .legal-section h2,
    .legal-section h3 {
        color: #000;
    }
    
    .legal-section p,
    .legal-section li {
        color: #000;
    }
}