/* Legal Pages Styles */

.legal-page {
    padding-top: 100px;
    min-height: 100vh;
}

/* Hero Section */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(3, 54, 109, 0.9) 100%);
    color: var(--text-white);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.03) 2px,
        rgba(255,255,255,0.03) 4px
    );
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(0) translateY(0); }
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.legal-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Legal Sections */
.legal-section {
    background: var(--background-light);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(3, 54, 109, 0.08);
    transition: all 0.3s ease;
}

.legal-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(3, 54, 109, 0.12);
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

.legal-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.legal-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.legal-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-section ul li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.legal-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Info Cards */
.info-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    margin-top: 0;
}

.info-card p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(3, 54, 109, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--gold);
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.highlight-box p {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Last Updated */
.last-updated {
    text-align: center;
    padding: 2.5rem 0 3rem;
    color: var(--text-light);
    font-style: italic;
    border-top: 1px solid rgba(3, 54, 109, 0.1);
    margin-top: 3rem;
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .legal-hero {
        padding: 4rem 0 3rem;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-hero .hero-subtitle {
        font-size: 1.05rem;
    }

    .legal-section {
        padding: 2rem 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.6rem;
    }

    .legal-section h3 {
        font-size: 1.25rem;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 1rem;
    }

    .info-card,
    .highlight-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-hero h1 {
        font-size: 1.75rem;
    }

    .legal-section {
        padding: 1.5rem 1rem;
    }
}
