/* ===== Legal Pages Styles ===== */

/* Page Layout */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: calc(100vh - 200px);
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.legal-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

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

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

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

.legal-section a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.legal-section a:hover {
    color: var(--color-secondary);
}

/* Lists */
.legal-list {
    margin: 20px 0;
    padding-left: 0;
}

.legal-list li {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

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

.legal-list li strong {
    color: var(--color-text);
}

.legal-list li a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Back Button */
.legal-back {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.legal-back .btn-icon {
    transform: rotate(0);
    transition: transform var(--transition-fast);
}

.legal-back .btn:hover .btn-icon {
    transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .legal-header {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

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

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-back {
        margin-top: 40px;
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding-top: 90px;
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.125rem;
    }

    .legal-section p,
    .legal-list li {
        font-size: 0.9375rem;
    }
}
