/* ==========================================================================
   Stili Specifici per /tool/ai-watermark-remover-texts
   Gli stili condivisi (hero, bottoni, card, faq) sono in tool-page-common.css.
   ========================================================================== */

main .editor-bg-dark {
    filter: brightness(0.7);
    -webkit-filter: brightness(0.7);
}

/* --------------------------------------------------------------------------
   Grid a 3 colonne per le Feature
   -------------------------------------------------------------------------- */
main .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* --------------------------------------------------------------------------
   Sezione Come Funziona (How It Works a 3 Step orizzontali)
   -------------------------------------------------------------------------- */
main .how-it-works-section {
    padding: 100px 20px;
    background-color: var(--navbar-bg);
    border-top: 1px solid var(--background-200);
}

main .how-it-works-container {
    max-width: 1000px;
    margin: 0 auto;
}

main .how-it-works-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 56px;
}

main .how-it-works-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-950);
}

main .how-it-works-header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-700);
    max-width: 620px;
}

main .how-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0 20px;
}

main .how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

main .how-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--text-950);
    color: var(--background-50);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
}

main .how-step h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-950);
}

main .how-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-600);
    max-width: 220px;
}

main .how-step-connector {
    align-self: center;
    width: 100%;
    height: 1px;
    margin-top: 22px;
    background-image: linear-gradient(to right, var(--text-300) 50%, transparent 0%);
    background-size: 10px 1px;
    background-repeat: repeat-x;
    min-width: 32px;
}

/* --------------------------------------------------------------------------
   Responsive Specifico
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    main .features-grid {
        grid-template-columns: 1fr;
    }

    main .how-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    main .how-step-connector {
        width: 1px;
        height: 28px;
        margin: 0 auto;
        background-image: linear-gradient(to bottom, var(--text-300) 50%, transparent 0%);
        background-size: 1px 10px;
    }
}

@media (max-width: 640px) {
    main .how-it-works-section {
        padding: 70px 16px;
    }

    main .how-it-works-header h2 {
        font-size: 1.7rem;
    }

    main .how-it-works-header p {
        font-size: 14px;
    }
}