/* =============================================
   GRID WHOLESALE - LEGAL PAGES STYLES
   ============================================= */

/* ----- LEGAL HEADER ----- */
.legal-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.legal-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--red);
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-5px);
}

.legal-logo {
    height: 50px;
    width: auto;
}

/* ----- LEGAL MAIN ----- */
.legal-main {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--darker);
}

.legal-hero {
    text-align: center;
    padding: 60px 0 80px;
}

.legal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 0.03em;
    margin-top: 1.5rem;
}

/* ----- LEGAL CONTENT ----- */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.legal-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
    color: var(--light);
    position: relative;
    padding-left: 20px;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.legal-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--light);
}

.legal-section p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.legal-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

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

.legal-section strong {
    color: var(--light);
}

/* ----- LEGAL CARD ----- */
.legal-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin: 1rem 0;
}

.legal-card p {
    margin-bottom: 0.5rem;
}

/* ----- LEGAL NAV ----- */
.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-nav-link:hover {
    background: rgba(175, 0, 0, 0.2);
    border-color: var(--red);
    transform: translateX(5px);
}

.legal-nav-link svg {
    transition: transform 0.3s ease;
}

.legal-nav-link:hover svg {
    transform: translateX(5px);
}

/* ----- FOOTER LEGAL UPDATES ----- */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 2rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--red);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.footer-brand {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-brand a {
    color: var(--magenta);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-brand a:hover {
    color: var(--red);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    .legal-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .legal-hero {
        padding: 40px 0 60px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-card {
        padding: 1.5rem;
    }
    
    .legal-nav {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
