/* =============================================
   LEGAL PAGES - Privacy Policy & Terms of Service
   ============================================= */

/* Hero Section */
.legal-page {
    padding-top: 80px;
}

.legal-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.95));
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1), transparent 50%);
    pointer-events: none;
}

.legal-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    color: #06b6d4;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.legal-updated {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Content Section */
.legal-content-section {
    padding: 4rem 0;
    background: #ffffff;
}

.legal-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Navigation Sidebar */
.legal-nav {
    position: sticky;
    top: 100px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.legal-nav h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 0.25rem;
}

.legal-nav a {
    display: block;
    padding: 0.6rem 0.75rem;
    color: #475569;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.legal-nav a:hover {
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #475569;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-section li strong {
    color: #1e293b;
}

/* Highlight Boxes */
.legal-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.legal-highlight svg {
    flex-shrink: 0;
    color: #06b6d4;
}

.legal-highlight p {
    margin: 0;
    font-size: 0.95rem;
}

.legal-highlight.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(234, 179, 8, 0.05));
    border-color: rgba(245, 158, 11, 0.3);
}

.legal-highlight.warning svg {
    color: #f59e0b;
}

/* Security Features Grid */
.security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.security-item:hover {
    border-color: #06b6d4;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}

.security-item svg {
    flex-shrink: 0;
    color: #06b6d4;
}

.security-item strong {
    display: block;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.security-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* Contact CTA */
.contact-info-legal {
    margin-top: 1.5rem;
}

.contact-info-legal .btn-primary-neon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
}

/* Footer Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.footer-legal-links a {
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a.active {
    color: #06b6d4;
}

.footer-legal-links .separator {
    color: #475569;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 900px) {
    .legal-container {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        margin-bottom: 2rem;
    }

    .legal-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .legal-nav li {
        margin: 0;
    }

    .legal-nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        background: #fff;
        border: 1px solid #e2e8f0;
    }

    .security-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal-links .separator {
        display: none;
    }

    .footer-simple-content {
        flex-direction: column;
        text-align: center;
    }
}