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

.legal-page {
    padding-top: 80px;
}

/* Legal Hero */
.legal-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.legal-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(42, 209, 212, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(42, 209, 212, 0.1);
    border: 1px solid rgba(42, 209, 212, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 24px;
}

.legal-badge svg {
    width: 16px;
    height: 16px;
}

.legal-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.legal-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0 100px;
}

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

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

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 14px;
    color: var(--text);
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

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

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
}

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

.legal-section a {
    color: var(--teal);
    text-decoration: none;
    transition: opacity 0.2s;
}

.legal-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Legal Highlight Box */
.legal-highlight {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(42, 209, 212, 0.08);
    border: 1px solid rgba(42, 209, 212, 0.2);
    border-radius: 16px;
    margin: 24px 0;
}

.legal-highlight > svg {
    width: 32px;
    height: 32px;
    color: var(--teal);
    flex-shrink: 0;
}

.legal-highlight h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.legal-highlight p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Section */
.legal-contact {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: fit-content;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--teal);
}

.contact-item a {
    font-size: 16px;
    font-weight: 500;
}

/* Footer active link */
.footer-links a.active {
    color: var(--teal);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0 40px;
    }

    .legal-content {
        padding: 40px 0 80px;
    }

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

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 15px;
    }

    .legal-highlight {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .legal-highlight > svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 18px;
    }

    .contact-item {
        width: 100%;
    }
}
