/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    padding: var(--section-padding-y) 0;
    background: var(--bg-light, #f9fafb);
}

.how-it-works .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.how-it-works .section-subtitle {
    text-align: center;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Steps container */
.hiw-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}

/* Individual step */
.hiw-step {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 300px;
}

/* Step number */
.hiw-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary, #FF6B35);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Icon wrapper */
.hiw-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: var(--primary, #FF6B35);
}

.hiw-step h3 {
    font-family: var(--font-heading, 'DM Serif Display', serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-heading, #111827);
}

.hiw-step p {
    font-size: 0.95rem;
    color: var(--text-secondary, #6b7280);
    line-height: 1.6;
}

/* Connector arrow between steps */
.hiw-connector {
    display: flex;
    align-items: center;
    padding-top: 4.5rem;
    color: var(--text-faint, #d1d5db);
    flex-shrink: 0;
}

/* Screenshot placeholder */
.hiw-screenshot {
    width: 100%;
    max-width: 200px;
    margin-top: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .hiw-steps {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .hiw-step {
        max-width: 400px;
        padding: 1rem 0;
    }

    .hiw-connector {
        padding-top: 0;
        transform: rotate(90deg);
    }
}
