/* ═══════════════════════════════════════
   LEGAL PAGES — Privacy Policy & T&C
   ═══════════════════════════════════════ */

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f0f0f;
    font-family: 'Outfit', sans-serif;
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.75;
}

/* ── Hero / Page Header ── */
.legal-hero {
    position: relative;
    padding: 140px 0 70px;
    background: #060609;
    overflow: hidden;
    text-align: center;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: #ff6b00;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.legal-hero-badge i {
    font-size: 0.85rem;
}

.legal-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.legal-hero h1 span {
    background: linear-gradient(135deg, #ff6b00, #ff9a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-hero-meta {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 10px;
}

.legal-hero-meta span {
    color: rgba(255, 107, 0, 0.7);
}

/* ── Divider ── */
.legal-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b00, #ff9a00);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* ── Content Wrapper ── */
.legal-content-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* ── Intro Note ── */
.legal-intro {
    background: rgba(255, 107, 0, 0.06);
    border-left: 3px solid #ff6b00;
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin-bottom: 50px;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.75);
}

.legal-intro strong {
    color: #ffffff;
}

/* ── Section Cards ── */
.legal-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 36px 36px 32px;
    margin-bottom: 28px;
    transition: border-color 0.3s ease;
}

.legal-section:hover {
    border-color: rgba(255, 107, 0, 0.2);
}

/* ── Section Number + Title ── */
.legal-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ff6b00;
    letter-spacing: 0.03em;
    margin-top: 2px;
}

.legal-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.legal-section-title small {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Body Text ── */
.legal-section p {
    font-size: 0.935rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

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

/* ── Sub-heading inside a section ── */
.legal-sub {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-sub::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 2px;
    background: #ff6b00;
    border-radius: 1px;
    flex-shrink: 0;
}

/* ── Bullet Lists ── */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.915rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.legal-list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: #ff6b00;
    border-radius: 50%;
    margin-top: 8px;
}

/* ── Two-column list grid ── */
.legal-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    margin: 12px 0 16px;
}

@media (max-width: 560px) {
    .legal-list-grid {
        grid-template-columns: 1fr;
    }
}

.legal-list-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.legal-list-grid li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: #ff6b00;
    border-radius: 50%;
    margin-top: 8px;
}

/* ── Info Box ── */
.legal-infobox {
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

.legal-infobox i {
    color: #ff6b00;
    margin-right: 8px;
}

/* ── Contact Card ── */
.legal-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 10px;
    padding: 18px 22px;
    margin-top: 14px;
}

.legal-contact-card i {
    font-size: 1.4rem;
    color: #ff6b00;
    flex-shrink: 0;
}

.legal-contact-card a {
    color: #ff9a00;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.legal-contact-card a:hover {
    color: #ffb84d;
    text-decoration: underline;
}

.legal-contact-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

/* ── Table of Contents Sidebar / Jump Nav ── */
.legal-toc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 40px;
}

.legal-toc-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.legal-toc ol {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 24px;
}

@media (max-width: 580px) {
    .legal-toc ol {
        columns: 1;
    }
}

.legal-toc ol li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.legal-toc ol li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-toc ol li a:hover {
    color: #ff6b00;
}

.legal-toc ol li a::before {
    content: attr(data-num);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 107, 0, 0.6);
    background: rgba(255, 107, 0, 0.08);
    border-radius: 4px;
    padding: 1px 6px;
    flex-shrink: 0;
}

/* ── Back to Top + Page Footer Note ── */
.legal-footer-note {
    text-align: center;
    padding: 30px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 20px;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.35);
}

.legal-footer-note a {
    color: rgba(255, 107, 0, 0.7);
    text-decoration: none;
}

.legal-footer-note a:hover {
    color: #ff6b00;
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .legal-hero {
        padding: 120px 20px 50px;
    }

    .legal-content-wrap {
        padding: 40px 16px 60px;
    }

    .legal-section {
        padding: 24px 20px;
    }

    .legal-section-header {
        flex-direction: row;
    }
}


/* Floating buttons — shared styles now live in navfoot.css */