/* Legal Pages Container */
.legal-container {
    background: var(--color-white);
}

/* Hero Section */
.legal-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #18082B 0%, #2a1548 100%);
    text-align: center;
}

.legal-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
}

.legal-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Main Content */
.legal-content {
    padding: 80px 0;
    background: var(--color-white);
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-purple);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-orange);
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-purple);
    margin-bottom: 15px;
    margin-top: 30px;
}

.legal-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: #e08900;
    text-decoration: underline;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.legal-section ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #555;
}

.legal-section ul li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--color-orange);
    font-weight: bold;
    font-size: 1.5rem;
}

.legal-section ul ul {
    margin-top: 10px;
    margin-left: 20px;
}

.legal-section ul ul li {
    padding: 8px 0 8px 25px;
    font-size: 1rem;
}

.legal-section ul ul li:before {
    content: '–';
    font-size: 1.2rem;
}

/* Contact List */
.contact-list {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 4px solid var(--color-orange);
}

.contact-list li {
    padding: 8px 0;
}

.contact-list li:before {
    display: none;
}

.contact-list strong {
    color: var(--color-purple);
    margin-right: 10px;
}

/* Footer Links Section */
.legal-footer-links {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.legal-footer-links h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-purple);
    margin-bottom: 25px;
    text-align: center;
}

.footer-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: var(--color-white);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-purple);
    transition: all 0.3s ease;
}

.footer-link-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-link-card i {
    font-size: 1.5rem;
    color: var(--color-orange);
}

.footer-link-card span {
    font-size: 1.0625rem;
    font-weight: 600;
}

/* Table of Contents (Optional) */
.legal-toc {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.legal-toc h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-purple);
    margin-bottom: 20px;
}

.legal-toc ul {
    list-style: none;
    padding: 0;
}

.legal-toc ul li {
    padding: 8px 0;
}

.legal-toc ul li:before {
    display: none;
}

.legal-toc a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-toc a:hover {
    color: var(--color-orange);
}

/* Responsive Design */
@media (max-width: 991px) {
    .legal-hero { padding: 80px 0 50px; }
    .legal-hero h1 { font-size: 2.5rem; }
    .legal-content { padding: 60px 0; }
    .legal-section { margin-bottom: 40px; }
}

@media (max-width: 768px) {
    .legal-hero { padding: 70px 0 40px; }
    .legal-hero h1 { font-size: 2rem; }
    .legal-hero p { font-size: 1rem; }
    .legal-content { padding: 50px 0; }
    .legal-section h2 { font-size: 1.5rem; }
    .legal-section h3 { font-size: 1.25rem; }
    .legal-section p { font-size: 1rem; }
    .legal-section ul li { font-size: 1rem; }
    .footer-link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .legal-hero { padding: 60px 0 30px; }
    .legal-hero h1 { font-size: 1.75rem; }
    .legal-content { padding: 40px 0; }
    .legal-section { margin-bottom: 35px; }
    .legal-section h2 { font-size: 1.35rem; }
    .legal-section ul li { padding-left: 25px; }
    .contact-list { padding: 15px 20px; }
    .footer-link-card { padding: 15px 20px; }
}