.faq-bg {
    background: #f8fafc;
    padding: 70px 0 60px 0;
}

/* FAQ Section Styles */
.faq-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(16,30,54,0.09);
    padding: 48px 32px;
    margin: 60px auto 40px auto;
    max-width: 820px;
    text-align: left;
}
.faq-section h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 18px;
    text-align: center;
}
.faq-section p {
    color: #64748b;
    text-align: center;
    margin-bottom: 36px;
    font-size: 1.1rem;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
}
.faq-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(16,30,54,0.03);
}
.faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
    display: block;
    cursor: pointer;
}

.faq-toggle {
    float: right;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #6366f1;
    padding: 0 8px;
    transition: color 0.2s;
    margin-left: 8px;
    line-height: 1;
    position: relative;
    top: -2px;
}
.faq-toggle:hover .faq-toggle-icon {
    color: #4338ca;
}
.faq-toggle-icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s;
    display: inline-block;
}
.faq-item.open {
    background: #eef2ff;
    box-shadow: 0 4px 24px 0 rgba(98, 85, 246, 0.07);
}
.faq-item.open .faq-question {
    color: #4338ca;
}
.faq-answer {
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
    padding-top: 0;
}
.faq-item.open .faq-answer {
    padding-top: 8px;
}

.faq-answer {
    font-size: 1rem;
    color: #475569;
    font-weight: 400;
    line-height: 1.6;
}
@media (max-width: 700px) {
    .faq-section {
        padding: 28px 7vw;
    }
    .faq-section h2 {
        font-size: 28px;
    }
    .faq-item {
        padding: 16px 10px;
    }
}

@media (max-width: 700px) {
    .templates-section h2 {
        font-size: 32px;
    }
    .template-card {
        min-width: 85vw;
        max-width: 90vw;
    }
}
