/* ========================================
   Legal Pages — Shared Styles
   Extends the main style.css theme
   ======================================== */

/* Legal Page Layout */
.legal-page {
    padding-top: 80px;
}

/* Hero Section */
.legal-hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(201, 165, 92, 0.08) 0%, rgba(10, 14, 20, 1) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.legal-hero-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-meta i {
    color: var(--primary);
}

/* Content Area */
.legal-content {
    padding: 4rem 2rem;
    max-width: 900px;
}

/* Article Styles */
.legal-article {
    line-height: 1.85;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

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

.legal-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-num {
    color: var(--primary);
    font-weight: 700;
    min-width: 2rem;
}

.legal-section h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--primary-light);
}

.legal-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section ul {
    margin: 0.8rem 0 1.2rem 1.5rem;
    color: var(--text-muted);
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.3rem;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.legal-section a:hover {
    border-bottom-color: var(--primary);
}

/* Nav active state */
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Info Box */
.info-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.info-box ul {
    margin-top: 0.5rem;
}

.info-box.highlight {
    border-color: rgba(201, 165, 92, 0.3);
    background: rgba(201, 165, 92, 0.05);
}

/* Contact Card */
.contact-card {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.contact-item > i {
    font-size: 1.5rem;
    color: var(--primary);
    min-width: 2rem;
    text-align: center;
}

.contact-item strong {
    display: block;
    color: var(--light);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.contact-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Steps Container (Data Deletion) */
.steps-container {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.8rem;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.step-number {
    min-width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--light);
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

.step-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.step-content ul {
    margin: 0.5rem 0 0 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Platform Cards (Data Deletion) */
.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.platform-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.platform-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.platform-card > i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.platform-card h4 {
    color: var(--light);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.platform-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.platform-card a {
    color: var(--primary);
    text-decoration: none;
}

.platform-card a:hover {
    text-decoration: underline;
}

/* Table of Contents */
.legal-toc {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.legal-toc h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-toc ol {
    margin-left: 1.2rem;
    color: var(--text-muted);
}

.legal-toc li {
    margin-bottom: 0.4rem;
}

.legal-toc a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.legal-toc a:hover {
    color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .legal-content {
        padding: 2rem 1rem;
    }

    .step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content ul {
        text-align: left;
    }

    .platform-cards {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}
