/* =========================================
   Legal Pages (Privacy & Terms)
   ========================================= */

.legal-hero {
    padding: 150px 0 90px;
    background: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect x='10' y='10' width='80' height='80' rx='20' fill='none' stroke='%23f1f3f9' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.legal-hero-sub {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Content Section ---- */
.legal-content-section {
    padding: 80px 0 120px;
    background: #ffffff;
}

.legal-box {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-section h2::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--brand-orange);
    border-radius: 10px;
}

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

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.legal-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 900;
}

.legal-update-date {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: var(--text-gray);
    text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .legal-hero-title {
        font-size: 2rem;
    }
    .legal-hero-sub {
        font-size: 1rem;
    }
    .legal-box {
        padding: 40px 25px;
        border-radius: 20px;
    }
}
