/* ============================================
   Legal Pages Styles - 3S VPN
   ============================================ */

.legal-page {
    padding: calc(var(--nav-height) + 60px) 0 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: var(--border-subtle);
}

.legal-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 20px 0 16px;
    letter-spacing: -0.02em;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Legal Content */
.legal-content {
    line-height: 1.8;
}

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

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-top: 20px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 24px 0 16px;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: none;
    margin: 16px 0;
    padding-left: 0;
}

.legal-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

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

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Highlight Section */
.highlight-section {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
}

.highlight-section h2 {
    padding-top: 0;
    color: var(--cyan);
}

.highlight-section p {
    margin-bottom: 0;
}

/* Footer Legal Links */
.legal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.legal-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: calc(var(--nav-height) + 40px) 0 60px;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }

    .highlight-section {
        padding: 24px;
    }

    .legal-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}
