/* ============================================================
   Legal pages
   ============================================================
   Split out of combined.min.css, which is render-blocking on every page.
   These rules style terms.php, privacy.php, refund.php only, so shipping them to every
   visitor delayed the first paint of pages that never use them.
   ============================================================ */

/* =========================================
   Legal Pages Styles (Terms, Privacy, Refund)
   ========================================= */

.legal-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

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

.legal-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-heading::before {
    content: '';
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 2px;
}

.legal-text {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: #94a3b8;
    line-height: 1.6;
}

.legal-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.legal-highlight {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin: 1rem 0;
}

.legal-highlight-red {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.legal-highlight-green {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.legal-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.legal-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.legal-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    color: #818cf8;
    text-decoration: none;
    transition: all 0.2s;
}

.legal-contact-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.legal-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.legal-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.75rem;
}

.legal-step-number {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.legal-step p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

