/* ═══════════════════════════════════════════════════════
   PRICELIO – Legal Pages (Privacy / Terms)
═══════════════════════════════════════════════════════ */

.legal-page {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 2;
}

.legal-container {
    max-width: 720px;
    margin: 0 auto;
}

.legal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: .5rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.legal-updated {
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

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

.legal-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.legal-section h2::before {
    content: '';
    display: block;
    width: 3px;
    height: 1.2em;
    background: var(--accent-gradient);
    border-radius: 2px;
    flex-shrink: 0;
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.25rem 0 .5rem;
}

.legal-section p { margin-bottom: .75rem; }

.legal-section ul { margin-left: 1.25rem; margin-bottom: .75rem; }

.legal-section li { margin-bottom: .4rem; }

.legal-section a { color: var(--accent-primary); text-decoration: none; }

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

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: .875rem;
}

.legal-table th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-table td {
    padding: .6rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
    vertical-align: top;
}

.legal-table tr:last-child td { border-bottom: none; }

.badge-no {
    display: inline-block;
    padding: .2rem .6rem;
    background: rgba(255,45,120,.1);
    border: 1px solid rgba(255,45,120,.2);
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    color: #ff2d78;
}

/* COOKIE BANNER */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(13,8,25,0.97);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 2rem;
    backdrop-filter: blur(20px);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-btn-group {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.65rem 1.2rem;
    border-radius: 100px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-secondary {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.cookie-btn-primary {
    background: var(--accent-gradient);
    border: none;
    color: #fff;
}

@media (max-width: 768px) {
    .legal-page { padding: 6rem 1.25rem 3rem; }
    .legal-table { font-size: .8rem; }
    .cookie-banner { padding: 1rem 1.5rem; }
}
