/**
 * AutoPGSlot — Legal Pages Styles
 * Privacy Policy & Terms of Service
 */

/* Legal Pages Layout */
.legal-page {
    min-height: 100vh;
    padding: 8rem 0 4rem;
}

.legal-page__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 968px) {
    .legal-page__grid {
        grid-template-columns: 1fr;
    }
}

/* Table of Contents */
.legal-toc {
    position: sticky;
    top: 100px;
    padding: 1.5rem;
    border-radius: 16px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.legal-toc__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #9ca3af);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-toc__list li {
    margin-bottom: 0.25rem;
}

.legal-toc__list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    color: var(--text-secondary, #d1d5db);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.legal-toc__list a:hover {
    background: rgba(124, 92, 255, 0.1);
    color: var(--text-primary, #f9fafb);
}

.legal-toc__list a i {
    width: 16px;
    text-align: center;
    color: var(--accent-primary, #7c5cff);
    font-size: 0.75rem;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
}

.legal-content__header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 1rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content__updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted, #9ca3af);
    font-size: 0.9375rem;
}

.legal-content__updated i {
    color: var(--accent-primary, #7c5cff);
}

/* Legal Sections */
.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.legal-section__title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #f9fafb);
    margin-bottom: 1.25rem;
}

.legal-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(34, 211, 238, 0.15));
    border: 1px solid rgba(124, 92, 255, 0.3);
    border-radius: 10px;
    color: var(--accent-primary, #7c5cff);
    font-size: 1rem;
}

.legal-section__text {
    color: var(--text-secondary, #d1d5db);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Legal Lists */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--text-secondary, #d1d5db);
    line-height: 1.6;
}

.legal-list li i {
    color: var(--accent-success, #10b981);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

/* Legal Subsections */
.legal-subsection {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(124, 92, 255, 0.3);
}

.legal-subsection__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #f9fafb);
    margin-bottom: 0.75rem;
}

/* Legal Note */
.legal-note {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(124, 92, 255, 0.08);
    border: 1px solid rgba(124, 92, 255, 0.2);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.legal-note i {
    color: var(--accent-primary, #7c5cff);
    margin-top: 0.25rem;
}

.legal-note p {
    color: var(--text-secondary, #d1d5db);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Legal Contact */
.legal-contact {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.legal-contact__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.legal-contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(34, 211, 238, 0.2));
    border-radius: 10px;
    color: var(--accent-primary, #7c5cff);
}

.legal-contact__item strong {
    display: block;
    color: var(--text-primary, #f9fafb);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.legal-contact__item a,
.legal-contact__item span {
    color: var(--text-secondary, #d1d5db);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-contact__item a:hover {
    color: var(--accent-primary, #7c5cff);
}

/* Legal Footer */
.legal-content__footer {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    .legal-content__footer {
        flex-direction: column;
    }
}

/* Scroll to top visibility */
.legal-toc::-webkit-scrollbar {
    width: 4px;
}

.legal-toc::-webkit-scrollbar-track {
    background: transparent;
}

.legal-toc::-webkit-scrollbar-thumb {
    background: rgba(124, 92, 255, 0.3);
    border-radius: 2px;
}

/* Print styles */
@media print {

    .legal-toc,
    .nav,
    .to-top,
    .cursor,
    .aurora,
    .grid-overlay,
    .noise,
    .particles,
    .mouse-glow {
        display: none !important;
    }

    .legal-page__grid {
        grid-template-columns: 1fr;
    }

    .legal-section {
        page-break-inside: avoid;
    }
}


/**
 * AutoPGSlot — Footer Styles
 */

.footer {
    position: relative;
    padding: 5rem 0 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 6, 12, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

/* Brand Column */
.footer__brand {
    max-width: 320px;
}

.footer__brand .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer__brand .brand__mark {
    width: 40px;
    height: 40px;
}

.footer__brand .brand__mark svg {
    width: 100%;
    height: 100%;
}

.footer__brand .brand__name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f9fafb;
}

.footer__brand .brand__tag {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__tagline {
    color: #9ca3af;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Social Links */
.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: rgba(124, 92, 255, 0.15);
    border-color: rgba(124, 92, 255, 0.4);
    color: #7c5cff;
    transform: translateY(-2px);
}

/* Badges */
.footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #10b981;
}

.footer__badge i {
    font-size: 0.625rem;
}

/* Footer Columns */
.footer__column {
    min-width: 0;
}

.footer__heading {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: #f9fafb;
}

/* Footer Bottom */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.footer__copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__bottom-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer__bottom-links a:hover {
    color: #f9fafb;
}

.footer__separator {
    color: #374151;
}