﻿/* ============================================================
   Legal Pages - Terms, Privacy, About, Contact
   ============================================================ */

/* Hero */
.legal-hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.legal-title {
    font-size: 48px;
    font-weight: 900;
    color: #0F172A;
    margin: 20px 0 12px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.legal-subtitle {
    font-size: 17px;
    color: #475569;
    margin: 0;
    font-weight: 600;
}

/* Content */
.legal-content {
    padding: 60px 0 100px;
}

.legal-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

    .legal-card h2 {
        font-size: 24px;
        font-weight: 800;
        color: #0F172A;
        margin: 40px 0 16px;
        padding-top: 24px;
        border-top: 1px solid #E2E8F0;
        letter-spacing: -0.3px;
    }

        .legal-card h2:first-child {
            margin-top: 0;
            padding-top: 0;
            border-top: none;
        }

    .legal-card h3 {
        font-size: 18px;
        font-weight: 700;
        color: #0F172A;
        margin: 24px 0 12px;
    }

    .legal-card p {
        font-size: 16px;
        line-height: 1.8;
        color: #334155;
        margin: 0 0 16px;
    }

    .legal-card ul {
        padding-right: 24px;
        margin: 0 0 16px;
        list-style: none;
    }

        .legal-card ul li {
            position: relative;
            padding-right: 24px;
            margin-bottom: 10px;
            font-size: 16px;
            line-height: 1.7;
            color: #334155;
        }

            .legal-card ul li::before {
                content: '';
                position: absolute;
                right: 0;
                top: 12px;
                width: 8px;
                height: 8px;
                background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%);
                border-radius: 50%;
            }

    .legal-card a {
        color: #4338CA;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.2s;
    }

        .legal-card a:hover {
            color: #312E81;
            text-decoration: underline;
        }

    .legal-card strong {
        color: #0F172A;
        font-weight: 800;
    }

.legal-footer-note {
    margin-top: 32px;
    padding: 20px;
    background: #F1F5F9;
    border-radius: 12px;
    color: #475569 !important;
    font-weight: 600;
    text-align: center;
    font-size: 15px !important;
}

/* About Features Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.about-feature {
    padding: 24px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    transition: all 0.3s;
}

    .about-feature:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px -8px rgba(67, 56, 202, 0.15);
        border-color: #C7D2FE;
    }

.about-feature-icon {
    font-size: 40px;
    margin-bottom: 12px;
    line-height: 1;
}

.about-feature h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 8px;
}

.about-feature p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.contact-card {
    text-align: center;
    padding: 40px 24px;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 20px;
    transition: all 0.3s;
}

    .contact-card:hover {
        transform: translateY(-4px);
        border-color: #818CF8;
        box-shadow: 0 16px 40px -8px rgba(67, 56, 202, 0.2);
    }

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px -8px rgba(67, 56, 202, 0.4);
}

.contact-icon-whatsapp {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 12px 24px -8px rgba(16, 185, 129, 0.4);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 8px;
}

.contact-card a {
    font-size: 16px;
    font-weight: 700;
    color: #4338CA;
    text-decoration: none;
    transition: color 0.2s;
}

    .contact-card a:hover {
        color: #312E81;
        text-decoration: underline;
    }

.contact-form {
    margin-top: 32px;
}

/* Responsive */
@media (max-width: 767px) {
    .legal-hero {
        padding: 120px 0 40px;
    }

    .legal-title {
        font-size: 32px;
    }

    .legal-subtitle {
        font-size: 15px;
    }

    .legal-content {
        padding: 40px 0 60px;
    }

    .legal-card {
        padding: 24px;
        border-radius: 16px;
    }

        .legal-card h2 {
            font-size: 20px;
        }

        .legal-card p,
        .legal-card ul li {
            font-size: 15px;
        }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 32px 20px;
    }
}
