/* Legal Pages Styles */

.legal-main {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

.legal-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.legal-content {
    background: var(--background-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    margin: 1rem 0 0.5rem;
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section ol,
.legal-section ul {
    color: var(--text-muted);
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Important Notice */
.important-notice {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.warning-box,
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.warning-box {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.warning-box i {
    color: #ef4444;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.warning-box strong {
    color: #ef4444;
    display: block;
    margin-bottom: 0.25rem;
}

.info-box {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.info-box i {
    color: #10b981;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-box strong {
    color: #10b981;
    display: block;
    margin-bottom: 0.25rem;
}

/* Legal Navigation */
.legal-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Help Page Specific */
.help-content {
    margin-bottom: 2rem;
}

.help-section {
    background: var(--background-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
}

.help-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.help-section h2 i {
    color: var(--primary-color);
}

/* Steps Guide */
.help-steps {
    display: grid;
    gap: 1.5rem;
}

.help-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

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

/* FAQ Accordion */
.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-main);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    padding: 0 1.25rem 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 0.5rem;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.faq-answer li {
    margin-bottom: 0.25rem;
}

.faq-answer a {
    color: var(--primary-color);
}

/* Category List */
.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.category-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

.category-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.category-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

    .legal-content,
    .help-section {
        padding: 1.5rem;
    }

    .legal-nav {
        flex-direction: column;
    }

    .category-list {
        grid-template-columns: 1fr;
    }
}
/* Footer Styles */
.footer {
    background-color: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-container {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.footer .disclaimer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.8;
}
