/* ===== LEGAL PAGES COMMON STYLES ===== */

/* Header Section */
.legal-header {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding-top: 100px;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 242, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(236, 64, 122, 0.1) 0%, transparent 50%);
}

.legal-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.legal-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.legal-header-icon {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.legal-header h1 {
    font-family: 'Inter', 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00f2fe, #00d4e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-header p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.legal-content {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    min-height: 100vh;
}

.legal-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.legal-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.legal-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.legal-meta i {
    color: #00d4e6;
}

/* Sections */
.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Inter', 'Arial', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #00f2fe, #00d4e6);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.legal-section p {
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Lists */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: #444;
    line-height: 1.6;
    border-bottom: 1px solid #f5f5f5;
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li i {
    color: #00d4e6;
    font-size: 0.85rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #00d4e6;
    padding: 20px 25px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 8px;
    color: #333;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    padding: 10px 0;
}

.contact-item i {
    font-size: 1.2rem;
    color: #00f2fe;
    width: 25px;
}

.contact-item span {
    font-size: 1rem;
}

/* Footer Note */
.legal-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 1px solid #ffd700;
    border-radius: 10px;
    padding: 20px 25px;
    margin-top: 40px;
}

.legal-footer-note i {
    color: #ffd700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.legal-footer-note p {
    color: #856404;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Back Button */
.back-button-container {
    text-align: center;
    margin-top: 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #00f2fe, #00d4e6);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 230, 0.3);
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 230, 0.5);
    color: #fff;
}

.back-button i {
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-5px);
}

/* Active Link in Footer */
.footer-links a.active {
    color: #00f2fe !important;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-header {
        min-height: 250px;
        padding-top: 80px;
    }

    .legal-header-icon {
        font-size: 3rem;
    }

    .legal-header h1 {
        font-size: 1.8rem;
    }

    .legal-header p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .legal-content {
        padding: 40px 0;
    }

    .legal-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .legal-meta {
        flex-direction: column;
        gap: 10px;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }

    .section-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .legal-section p {
        font-size: 0.95rem;
    }

    .legal-list li {
        font-size: 0.95rem;
    }

    .info-box {
        padding: 15px 20px;
    }

    .contact-box {
        padding: 20px;
    }

    .back-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .legal-header h1 {
        font-size: 1.5rem;
    }

    .legal-card {
        padding: 25px 15px;
    }

    .legal-section h2 {
        font-size: 1.1rem;
        gap: 10px;
    }
}