/* =========================================================
   RSC AI Automation Flow Widget
   ========================================================= */

.rsc-aaf-section {
    background: #fff;
    padding: 60px 0px;
    box-sizing: border-box;
}

.rsc-aaf-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Header ── */
.rsc-aaf-header {
    text-align: center;
    margin-bottom: 60px;
}

.rsc-aaf-heading {
    font-size: 36px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 30px;
    line-height: 1.25;
}

.rsc-aaf-subheading {
    font-size: 18px;
    color: #666;
    margin: 0 auto;
    max-width: 640px;
    line-height: 1.6;
}

/* ── Flow row ── */
.rsc-aaf-flow {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 100px;
}

/* ── Individual step ── */
.rsc-aaf-step {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
    position: relative;
    z-index: 2;
}

/* Bottom steps shift down; top steps stay flush */
.rsc-aaf-step--bottom {
    padding-top: 100px;
}

/* ── Circle wrap — positions the number badge ── */
.rsc-aaf-circle-wrap {
    position: relative;
    display: inline-flex;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center center;
    background-color: #fff;
}

/* ── Step hover — zoom circle, inner circle, icon and badge together ── */
.rsc-aaf-step {
    cursor: default;
}

.rsc-aaf-step:hover {
    z-index: 10;
}

.rsc-aaf-step:hover .rsc-aaf-circle-wrap {
    transform: scale(1.12);
}

/* ── Number badge — centered on top of the outer ring ── */
.rsc-aaf-num {
    position: absolute;
    top: calc(-30px / 2);
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: #ff5b2e;
    border: 1px solid #ff5b2e;
    font-size: 14px;
    font-weight: 700;
    font-family: poppins, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(255, 91, 46, 0.20);
}

/* ── Outer ring — translucent halo ── */
.rsc-aaf-circle-outer {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1.5px solid rgba(251, 207, 190, 0.75);
    /* background: rgba(251, 207, 190, 0.06); */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 0 0 1px rgba(244, 129, 83, 0.07),
        0 8px 32px rgba(241, 90, 36, 0.07);
    transition: box-shadow 0.25s ease;
}

.rsc-aaf-circle-outer:hover {
    box-shadow:
        0 0 0 2px rgba(244, 129, 83, 0.16),
        0 10px 38px rgba(241, 90, 36, 0.13);
}

/* ── Inner circle — solid circle with icon ── */
.rsc-aaf-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 1.5px solid #F48153;
    background: #ffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 4px 16px rgba(244, 129, 83, 0.18),
        0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Icon — ~50% of inner circle diameter */
.rsc-aaf-circle i {
    font-size: 40px;
    color: #F48153;
    line-height: 1;
    display: block;
}

.rsc-aaf-circle svg {
    width: 30px;
    height: 30px;
    fill: #F48153;
    display: block;
}

/* ── Step title ── */
.rsc-aaf-step-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}

/* ── Step description ── */
.rsc-aaf-step-desc {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.65;
}

/* ── SVG connector overlay drawn by JS ── */
.rsc-aaf-svg-connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

/* =========================================================
   Responsive — tablet
   ========================================================= */
@media (max-width: 1024px) {
    .rsc-aaf-heading {
        font-size: 28px;
    }

    .rsc-aaf-circle-outer {
        width: 100px;
        height: 100px;
    }

    .rsc-aaf-circle {
        width: 62px;
        height: 62px;
    }

    .rsc-aaf-circle i {
        font-size: 32px;
    }

    .rsc-aaf-circle svg {
        width: 32px;
        height: 32px;
    }

    .rsc-aaf-step--bottom {
        padding-top: 82px;
    }

    .rsc-aaf-flow {
        padding-bottom: 82px;
    }

    .rsc-aaf-step-title {
        font-size: 14px;
    }
}

/* =========================================================
   Responsive — mobile (vertical stack, no connectors)
   ========================================================= */
@media (max-width: 767px) {
    .rsc-aaf-flow {
        flex-direction: column;
        align-items: center;
        padding-bottom: 0;
        gap: 40px;
    }

    .rsc-aaf-step {
        width: 100%;
        max-width: 260px;
        padding-left: 0;
        padding-right: 0;
    }

    .rsc-aaf-step--bottom {
        padding-top: 0;
    }

    .rsc-aaf-svg-connectors {
        display: none;
    }

    .rsc-aaf-heading {
        font-size: 24px;
    }

    .rsc-aaf-subheading {
        font-size: 15px;
    }
}



.rps-eyebrow-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}
.rps-eyebrow {
    font-size: 16px;
    font-weight: 600;
    font-family: poppins, sans-serif;
    letter-spacing: 2.5px;
    line-height: 26px;
    text-transform: uppercase;
    color: #666666;
    border-bottom: 1px solid #fe5907;
}