/* Shared styles for feature landing sections: how-to, steps, FAQ, section header */

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-header__badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--color-primary-light, #eef2ff);
    color: var(--color-primary, #6366f1);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text, #1a1a1a);
}

.section-header__subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-secondary, #666);
}

/* How-to section */
.how-to-section {
    padding: 6rem 2rem;
    background: var(--color-bg-secondary, #f8f9fa);
}

.steps-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-primary-dark, #4f46e5));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text, #1a1a1a);
}

.step-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary, #666);
    margin: 0;
}

/* FAQ section */
.faq-section {
    padding: 6rem 2rem;
    background: var(--color-bg-secondary, #f8f9fa);
}

.faq-section__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.faq-section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text, #1a1a1a);
}

.faq-section__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: var(--color-bg-secondary, #f8f9fa);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-text, #1a1a1a);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--color-primary, #6366f1);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

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

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary, #666);
    margin: 0;
}

@media (max-width: 768px) {
    .how-to-section,
    .faq-section {
        padding: 4rem 1.5rem;
    }

    .section-header__title,
    .faq-section__title {
        font-size: 2rem;
    }

    .step-item {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}
