/* ============================================
   Legal Pages Styles (Privacy, Terms, Support)
   ============================================ */

.legal-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content .last-updated,
.legal-content .intro {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 40px;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.legal-content h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 20px 0 12px;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

/* ============================================
   Support Page Specific
   ============================================ */

.support-page .intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    background: var(--primary-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 60px;
}

.contact-section h2 {
    border: none;
    padding-bottom: 0;
}

.contact-btn {
    display: inline-block;
    background: var(--bg-gradient);
    color: white !important;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.125rem;
    margin: 16px 0;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 125, 255, 0.4);
}

.response-time {
    color: var(--text-light) !important;
    font-size: 0.9rem;
    margin-bottom: 0 !important;
}

/* FAQ Section */
.faq-section h2 {
    margin-bottom: 32px;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.faq-item {
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    font-family: inherit;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Delete Section */
.delete-section {
    background: #FEF2F2;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #FECACA;
}

.delete-section h2 {
    color: #DC2626;
    border-color: #FECACA;
}

.delete-section ul {
    margin-bottom: 16px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }

    .contact-section {
        padding: 24px;
    }

    .contact-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
