.how-it-works {
    padding: 6rem 0;
    background: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.how-it-works .section-header {
    max-width: 560px;
    margin-bottom: 4rem;
}

.how-it-works .section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.how-it-works .section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.step-reverse {
    direction: rtl;
}

.step-reverse > * {
    direction: ltr;
}

.step-phone {
    display: flex;
    justify-content: center;
}

/* Phone frame */
.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--white);
    border-radius: 36px;
    border: 6px solid #1A1A2E;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Step content */
.step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.step-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.step-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 4rem 0;
    }

    .how-it-works .section-header h2 {
        font-size: 1.8rem;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-reverse {
        direction: ltr;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .steps {
        gap: 3rem;
    }
}
