/* ==========================================================================
   MailAI.chat — Footer & FAQ Styles
   ========================================================================== */

/* --- FAQ Accordion --- */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.4;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.2s;
    color: #6b7280;
}

.faq-icon.open {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

.faq-answer.show {
    display: block;
}

/* --- Footer --- */
.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-col-brand {
    max-width: 24rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo:hover {
    color: #e5e7eb;
}

.footer-tagline {
    color: #d1d5db;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1f2937;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #6b7280;
}

.footer-copyright a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 600;
}

.footer-copyright a:hover {
    color: white;
}