.tutorial_showcase {
    --tutorial-bg: linear-gradient(180deg, #f7f8fd 0%, #eef2ff 50%, #ffffff 100%);
    --tutorial-glow-a: rgba(68, 97, 255, 0.18);
    --tutorial-glow-b: rgba(109, 221, 189, 0.2);
    --tutorial-card-bg: rgba(255, 255, 255, 0.8);
    --tutorial-card-border: rgba(68, 97, 255, 0.14);
    --tutorial-shadow: 0 2.4rem 5rem rgba(45, 64, 138, 0.14);
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 8rem 0 10rem;
    background: var(--tutorial-bg);
}

.tutorial_showcase::before,
.tutorial_showcase::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(1rem);
    pointer-events: none;
}

.tutorial_showcase::before {
    top: 12rem;
    left: -8rem;
    width: 28rem;
    height: 28rem;
    background: radial-gradient(circle, var(--tutorial-glow-a) 0%, rgba(68, 97, 255, 0) 72%);
}

.tutorial_showcase::after {
    right: -10rem;
    bottom: 10rem;
    width: 32rem;
    height: 32rem;
    background: radial-gradient(circle, var(--tutorial-glow-b) 0%, rgba(109, 221, 189, 0) 72%);
}

.tutorial_showcase-heading {
    max-width: 78rem;
    margin: 0 auto 5rem;
    text-align: center;
}

.tutorial_showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    color: #4461FF;
    background: rgba(68, 97, 255, 0.08);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tutorial_showcase-heading h2 {
    margin: 1.8rem 0 1.4rem;
}

.tutorial_showcase-heading p {
    color: #5E6786;
    font-size: 1.8rem;
    line-height: 3rem;
}

.tutorial_showcase-note {
    margin-top: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    background: rgba(31, 43, 88, 0.06);
    color: #445077;
    font-size: 1.35rem;
    line-height: 2rem;
}

.tutorial_showcase-note strong {
    color: #1F2B58;
}

.tutorial_showcase-shell {
    position: relative;
    display: grid;
    align-items: start;
}

.tutorial_showcase-stage,
.tutorial_showcase-steps {
    grid-area: 1 / 1;
}

.tutorial_showcase-stage {
    position: sticky;
    top: 10rem;
    z-index: 1;
    justify-self: center;
    width: min(34rem, 24vw, calc((100vh - 18rem) * 0.46));
}

.tutorial_showcase-stageInner {
    position: relative;
    padding: 1.6rem 0 2rem;
}

.tutorial_showcase-stageTop {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tutorial_showcase-hint,
.tutorial_showcase-counter {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.72);
    border: 0.1rem solid rgba(68, 97, 255, 0.08);
    color: #33416f;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 1rem 2.8rem rgba(68, 97, 255, 0.1);
    backdrop-filter: blur(1.2rem);
}

.tutorial_showcase-hint::before {
    content: '';
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 0.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4461FF 0%, #6DDDBD 100%);
}

.tutorial_showcase-stageTop {
    display: none;
}

.tutorial_showcase-device {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 18rem);
    margin: 0 auto;
    padding: 1.2rem;
    border-radius: 4.2rem;
    background: linear-gradient(180deg, #151d31 0%, #263554 100%);
    box-shadow: inset 0 0.1rem 0 rgba(255, 255, 255, 0.2), 0 2.6rem 5.2rem rgba(16, 25, 51, 0.28);
}

.tutorial_showcase-device--ios {
    aspect-ratio: 390 / 844;
    padding: 0.85rem;
    border-radius: 4.8rem;
    background:
        linear-gradient(180deg, #05070c 0%, #10141d 34%, #06080d 100%);
    box-shadow:
        inset 0 0.08rem 0 rgba(255, 255, 255, 0.12),
        inset 0 -0.12rem 0 rgba(255, 255, 255, 0.04),
        0 2.8rem 5.8rem rgba(17, 24, 39, 0.3);
}

.tutorial_showcase-device--ios::before,
.tutorial_showcase-device--ios::after {
    content: '';
    position: absolute;
    background: linear-gradient(180deg, rgba(6, 8, 13, 0.98) 0%, rgba(32, 38, 50, 0.92) 100%);
    box-shadow: inset 0 0.05rem 0 rgba(255, 255, 255, 0.12);
}

.tutorial_showcase-device--ios::before {
    top: 15.8%;
    left: -0.12rem;
    width: 0.14rem;
    height: 3.8%;
    border-radius: 999px 0 0 999px;
    box-shadow:
        inset 0 0.04rem 0 rgba(255, 255, 255, 0.1),
        0 4.4rem 0 0 rgba(18, 23, 34, 0.98),
        0 8rem 0 0 rgba(18, 23, 34, 0.98);
}

.tutorial_showcase-device--ios::after {
    top: 27.8%;
    right: -0.13rem;
    width: 0.16rem;
    height: 8.8%;
    border-radius: 0 999px 999px 0;
}

.tutorial_showcase-device--android,
.tutorial_showcase-device--chromebook {
    aspect-ratio: 9 / 16;
}

.tutorial_showcase-device--android::before,
.tutorial_showcase-device--android::after,
.tutorial_showcase-device--chromebook::before,
.tutorial_showcase-device--chromebook::after {
    content: '';
    position: absolute;
    background: linear-gradient(180deg, rgba(9, 12, 19, 0.98) 0%, rgba(39, 49, 72, 0.92) 100%);
    box-shadow: inset 0 0.05rem 0 rgba(255, 255, 255, 0.08);
}

.tutorial_showcase-device--android::before,
.tutorial_showcase-device--chromebook::before {
    top: 18%;
    left: -0.1rem;
    width: 0.12rem;
    height: 5.8%;
    border-radius: 999px 0 0 999px;
}

.tutorial_showcase-device--android::after,
.tutorial_showcase-device--chromebook::after {
    top: 24.8%;
    right: -0.11rem;
    width: 0.13rem;
    height: 7.2%;
    border-radius: 0 999px 999px 0;
}

.tutorial_showcase-screenWrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 3.1rem;
    background: linear-gradient(180deg, #dfe6ff 0%, #edf1ff 100%);
}

.tutorial_showcase-screenWrap::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 32%;
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.68);
}

.tutorial_showcase-device--ios .tutorial_showcase-screenWrap {
    border-radius: 4rem;
    background: #000;
    border: 0.12rem solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 0 0 0.16rem rgba(5, 8, 15, 0.96),
        inset 0 0 0 0.26rem rgba(34, 43, 66, 0.72);
}

.tutorial_showcase-device--ios .tutorial_showcase-screenWrap::before {
    top: 1.05rem;
    width: 24%;
    height: 1.3rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at 78% 50%, rgba(44, 53, 79, 0.96) 0 0.26rem, transparent 0.3rem),
        linear-gradient(180deg, rgba(2, 3, 7, 0.98) 0%, rgba(17, 22, 33, 0.98) 100%);
    box-shadow:
        inset 0 -0.05rem 0 rgba(255, 255, 255, 0.08),
        0 0.18rem 0.5rem rgba(0, 0, 0, 0.28);
}

.tutorial_showcase-device--ios .tutorial_showcase-screenWrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 10%);
    pointer-events: none;
}

.tutorial_showcase-device--android,
.tutorial_showcase-device--chromebook {
    background: linear-gradient(180deg, #0e121b 0%, #1b2436 100%);
    box-shadow:
        inset 0 0.08rem 0 rgba(255, 255, 255, 0.14),
        0 2.4rem 4.8rem rgba(16, 25, 51, 0.3);
}

.tutorial_showcase-device--android .tutorial_showcase-screenWrap,
.tutorial_showcase-device--chromebook .tutorial_showcase-screenWrap {
    background: #000;
    border-radius: 3.5rem;
    border: 0.12rem solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 0.18rem rgba(7, 10, 18, 0.92);
}

.tutorial_showcase-device--android .tutorial_showcase-screenWrap::before,
.tutorial_showcase-device--chromebook .tutorial_showcase-screenWrap::before {
    top: 0.9rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 45%, rgba(46, 56, 83, 0.95) 0 0.22rem, rgba(5, 8, 16, 0.98) 0.32rem 100%);
    box-shadow: 0 0 0 0.08rem rgba(255, 255, 255, 0.04);
}

.tutorial_showcase-screenTrack {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.tutorial_showcase-screenFrame {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.tutorial_showcase-screen {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.tutorial_showcase-device--android .tutorial_showcase-screen,
.tutorial_showcase-device--chromebook .tutorial_showcase-screen {
    object-fit: contain;
    background: #000;
}

.tutorial_showcase-caption,
.tutorial_showcase-controls {
    display: none;
}

.tutorial_showcase-steps {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.tutorial_showcase-step {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 128vh;
    padding: 16rem 0;
    width: calc(50% - min(24rem, 20vw));
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: default;
}

.tutorial_showcase-step:nth-child(odd) {
    margin-right: auto;
    padding-right: 4.5rem;
}

.tutorial_showcase-step:nth-child(even) {
    margin-left: auto;
    padding-left: 4.5rem;
}

.tutorial_showcase-step::after {
    content: '';
    position: absolute;
    top: 50%;
    width: clamp(4rem, 7vw, 9rem);
    height: 0.1rem;
    background: linear-gradient(90deg, rgba(68, 97, 255, 0.35) 0%, rgba(68, 97, 255, 0) 100%);
    transform: translateY(-50%);
    opacity: 0.25;
    transition: opacity 0.35s ease;
}

.tutorial_showcase-step:nth-child(odd)::after {
    right: calc(-1 * clamp(2rem, 4vw, 5rem));
}

.tutorial_showcase-step:nth-child(even)::after {
    left: calc(-1 * clamp(2rem, 4vw, 5rem));
    transform: translateY(-50%) scaleX(-1);
}

.tutorial_showcase-step.is-active::after {
    opacity: 1;
}

.tutorial_showcase-stepNum {
    display: none;
}

.tutorial_showcase-stepBody {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 38rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 0.22;
    transform: translateY(2.2rem);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.tutorial_showcase-step.is-active .tutorial_showcase-stepBody {
    opacity: 1;
    transform: translateY(0);
}

.tutorial_showcase-stepBody h3 {
    color: #1F2846;
    font-size: 3.2rem;
    line-height: 4.1rem;
    margin: 0;
    text-wrap: balance;
}

.tutorial_showcase-stepBody p {
    color: #5B6480;
    font-size: 1.8rem;
    line-height: 3rem;
    margin: 0;
    max-width: 31rem;
}

.tutorial_showcase-stepBody::before {
    content: '';
    width: 6.4rem;
    height: 0.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(68, 97, 255, 0.95) 0%, rgba(68, 97, 255, 0.16) 100%);
    margin-bottom: 0.8rem;
}

@media screen and (max-width: 1180px) {
    .tutorial_showcase-stage {
        width: min(31rem, 22vw, calc((100vh - 16rem) * 0.46));
    }

    .tutorial_showcase-step {
        min-height: 118vh;
        padding: 13rem 0;
        width: calc(50% - min(21rem, 18vw));
    }
}

@media screen and (max-width: 980px) {
    .tutorial_showcase {
        padding: 6rem 0;
    }

    .tutorial_showcase-shell {
        display: block;
    }

    .tutorial_showcase-stage {
        position: static;
        width: min(34rem, 100%);
        margin: 0 auto 3rem;
    }

    .tutorial_showcase-stageTop {
        display: none;
    }

    .tutorial_showcase-caption,
    .tutorial_showcase-controls {
        display: block;
    }

    .tutorial_showcase-caption {
        margin-top: 2rem;
        min-height: 24rem;
        display: flex;
        flex-direction: column;
    }

    .tutorial_showcase-captionLabel {
        display: inline-block;
        margin-bottom: 0.8rem;
        color: #4461FF;
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .tutorial_showcase-caption h3 {
        color: #202945;
        font-size: 2.5rem;
        line-height: 3.3rem;
        margin-bottom: 1rem;
    }

    .tutorial_showcase-caption p {
        color: #5B6480;
        font-size: 1.7rem;
        line-height: 2.9rem;
        flex: 1;
    }

    .tutorial_showcase-controls {
        display: flex;
        gap: 1rem;
        margin-top: 2.4rem;
        width: 100%;
    }

    .tutorial_showcase-button {
        appearance: none;
        border: none;
        border-radius: 999px;
        padding: 1.1rem 1.7rem;
        background: #1E2B58;
        color: #fff;
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        flex: 1;
    }

    .tutorial_showcase-button:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .tutorial_showcase-button--ghost {
        background: rgba(68, 97, 255, 0.08);
        color: #24346F;
    }

    .tutorial_showcase-steps {
        padding-top: 0;
    }

    .tutorial_showcase-steps {
        display: none;
    }

    .tutorial_showcase-step,
    .tutorial_showcase-step:nth-child(odd),
    .tutorial_showcase-step:nth-child(even) {
        width: 100%;
        min-height: auto;
        padding: 0;
        margin: 0 0 1.6rem;
    }

    .tutorial_showcase-step::after {
        display: none;
    }

    .tutorial_showcase-stepBody {
        max-width: none;
        opacity: 1;
        transform: none;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .tutorial_showcase-heading p,
    .tutorial_showcase-stepBody p,
    .tutorial_showcase-caption p {
        font-size: 1.8rem;
        line-height: 3rem;
    }

    .tutorial_showcase-stepBody h3,
    .tutorial_showcase-caption h3 {
        font-size: 2.4rem;
        line-height: 3.2rem;
    }
}

@media screen and (max-width: 576px) {
    .tutorial_showcase-device {
        width: min(100%, 31rem);
    }

    .tutorial_showcase-stageTop {
        flex-direction: column;
        align-items: flex-start;
    }

    .tutorial_showcase-note {
        display: flex;
        border-radius: 1.6rem;
    }

    .tutorial_showcase-stepBody {
        padding: 0;
    }
}
