/* How It Works Section - Simplified */
.how-it-works {
    padding: 40px 0;
    background-color: var(--background-color);
}

.how-it-works h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 600;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--card-border);
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #7953db;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.step-content {
    text-align: left;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--card-border);
    text-align: left;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.step p {
    color: var(--tool-description-color);
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Responsive adjustments for How It Works section */
@media (max-width: 992px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
        width: 100%;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 40px 20px;
    }

    .section-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .benefits-container {
        gap: 15px;
    }

    .benefit-item {
        min-width: 120px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 1.6rem;
    }

    .step {
        padding: 20px;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .benefits-container {
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        max-width: 100%;
        width: 100%;
    }
}

/* Usage Guide Section - Simplified */
.usage-guide {
    padding: 40px 0;
    background-color: var(--background-color);
}

.usage-guide h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-color);
}

.instruction-list {
    counter-reset: step-counter;
    list-style-type: none;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
    color: var(--tool-description-color);
}

.instruction-list li {
    position: relative;
    margin-bottom: 20px;
    padding-left: 40px;
    line-height: 1.5;
}

.instruction-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: #7953db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.instruction-list strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Tips Section - Simplified */
.tips-section {
    padding: 40px 0;
}

.tips-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-color);
}

.tips-list {
    list-style-type: none;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
    color: var(--tool-description-color);
}

.tips-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 25px;
    line-height: 1.5;
}

.tips-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #7953db;
    font-weight: bold;
}

.tips-list strong {
    color: var(--text-color);
    font-weight: 600;
}

/* FAQ Section - Simplified */
.faq-section {
    padding: 40px 0;
    background-color: var(--background-color);
}

.faq-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-bg);
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: rgba(121, 83, 219, 0.05);
}

.faq-question h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-color);
}

.faq-toggle {
    color: var(--tool-description-color);
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--tool-description-color);
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    padding: 0 20px 15px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive adjustments for usage guide and FAQ */
@media (max-width: 768px) {

    .usage-guide,
    .faq-section {
        padding: 40px 20px;
    }

    .guide-section,
    .faq-item {
        padding: 20px;
        margin-bottom: 25px;
    }

    .guide-section:hover {
        transform: translateY(-3px);
    }

    .guide-section h3,
    .faq-question h3 {
        font-size: 1.2rem;
    }

    .guide-section h3 i {
        font-size: 1.4rem;
    }

    .faq-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .instruction-list li {
        padding-left: 45px;
    }

    .tips-list li {
        padding-left: 35px;
    }
}

@media (max-width: 480px) {

    .usage-guide h2,
    .faq-section h2 {
        font-size: 1.6rem;
    }

    .guide-section h3,
    .faq-question h3 {
        font-size: 1.1rem;
    }

    .instruction-list,
    .tips-list {
        padding-left: 0;
    }

    .instruction-list li {
        padding-left: 40px;
    }

    .instruction-list li::before {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .tips-list li {
        padding-left: 35px;
    }

    .tips-list li::before {
        font-size: 18px;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
}