/* ── How It Works Widget ────────────────────────────────────────────────────── */
.neweb-how-it-works {
    padding: 10rem 1.5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .neweb-how-it-works {
        padding: 14rem 1.5rem;
    }
}

.neweb-how-it-works__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (min-width: 1024px) {
    .neweb-how-it-works__inner {
        padding: 0 1rem;
    }
}

.neweb-how-it-works__header {
    text-align: center;
    margin-bottom: 7rem;
}

@media (min-width: 768px) {
    .neweb-how-it-works__header {
        margin-bottom: 12rem;
    }
}

.neweb-how-it-works__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-brand);
}

.neweb-how-it-works__heading {
    margin-top: 1.25rem;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.1;
    color: #0f172a;
}

[data-theme="dark"] .neweb-how-it-works__heading {
    color: #ffffff;
}

.neweb-how-it-works__heading-italic {
    font-style: italic;
    color: #94a3b8;
}

[data-theme="dark"] .neweb-how-it-works__heading-italic {
    color: #64748b;
}

[data-theme="dark"] .neweb-how-it-works__heading-italic {
    color: #64748b;
}

/* Steps container — large vertical spacing like original */
.neweb-how-it-works__steps {
    display: flex;
    flex-direction: column;
    gap: 9rem;
}

@media (min-width: 768px) {
    .neweb-how-it-works__steps {
        gap: 12rem;
    }
}

/* Step grid: 2-column with text + image */
.neweb-how-it-works__step-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

@media (min-width: 1024px) {
    .neweb-how-it-works__step-grid {
        flex-direction: row;
        gap: 6rem;
    }
}

.neweb-how-it-works__step--reversed .neweb-how-it-works__step-grid {
    flex-direction: column;
}

@media (min-width: 1024px) {
    .neweb-how-it-works__step--reversed .neweb-how-it-works__step-grid {
        flex-direction: row-reverse;
    }
}

.neweb-how-it-works__step-text {
    flex: 1;
}

.neweb-how-it-works__step-image {
    flex: 1;
}

/* Step badge with number circle + gradient line */
.neweb-how-it-works__step-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.neweb-how-it-works__step-badge-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(36, 127, 195, 0.3);
    background: rgba(36, 127, 195, 0.05);
    color: var(--color-brand);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.neweb-how-it-works__step-badge-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, rgba(36, 127, 195, 0.3), transparent);
}

.neweb-how-it-works__step-title {
    font-family: var(--font-body) !important;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700 !important;
    line-height: 1.375;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .neweb-how-it-works__step-title {
    color: #ffffff;
}

.neweb-how-it-works__step-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    max-width: 28rem;
}

[data-theme="dark"] .neweb-how-it-works__step-desc {
    color: #94a3b8;
}

/* Image in browser chrome */
.neweb-how-it-works__step-image .browser-chrome {
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.06);
}
