/* Success Stories — Figma 808:13312
   Hero | Stats | Logos | Featured | Videos | Grid | Testimonials | CTA | Final CTA
*/

.success-page {
    overflow-x: clip;
    background: #fff;
    direction: rtl;
    scroll-behavior: smooth;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════
   Hero — 808:13313
   Figma frame 1440×1073 includes nav (84px).
   Our section starts below shared header → 989px canvas.
   Absolute Y positions = Figma Y − 84.
   ═══════════════════════════════════════════ */
.success-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 989px;
    border-radius: 0 0 12px 12px;
    background: #ffffff;
}

.success-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Ellipse 1 — soft purple wash, centered, top −689 (Figma −773 − 84) */
.success-hero__ellipse {
    position: absolute;
    left: 50%;
    top: -689px;
    width: 1885px;
    height: 1885px;
    max-width: none;
    transform: translateX(-50%);
    opacity: 0.85;
}

/* Frame 1 — vertical stripes */
.success-hero__stripes {
    position: absolute;
    top: 0;
    left: -3px;
    width: 1868px;
    max-width: none;
    height: auto;
    opacity: 1;
}

/* Ellipse 2 — soft center glow behind copy */
.success-hero__glow-center {
    position: absolute;
    left: 50%;
    top: 66px; /* 150 − 84 */
    width: 518px;
    height: 505px;
    max-width: none;
    transform: translateX(-50%);
    opacity: 0.9;
    filter: blur(40px);
}

/* Glare / X accents — Figma Glare 7 & 8 */
.success-hero__glare {
    position: absolute;
    width: 70px;
    height: 68px;
    display: grid;
    place-items: center;
    opacity: 0.55;
    pointer-events: none;
}

.success-hero__glare img {
    position: absolute;
    width: 5px;
    height: 49px;
    max-width: none;
}

.success-hero__glare img:first-child {
    transform: rotate(44deg);
}

.success-hero__glare img:last-child {
    transform: rotate(-46deg);
}

.success-hero__glare--l {
    top: 154px; /* 238 − 84 */
    left: 8.5%;
}

.success-hero__glare--r {
    top: 419px; /* 503 − 84 */
    right: 8.5%;
    left: auto;
}

.success-hero__inner {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    max-width: 1036px;
    margin-inline: auto;
    padding: 58px 24px 0; /* top 142 − 84 */
}

.success-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px; /* Figma Content gap */
    max-width: 797px;
    min-height: 376px;
    margin-inline: auto;
    text-align: center;
}

.success-hero__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 611px;
    width: 100%;
}

.success-hero__title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 60px;
    line-height: 72px;
    font-weight: 400;
    letter-spacing: -1.2px;
    color: #181d27;
}

.success-hero__title-accent {
    color: #6819fa;
}

.success-hero__desc {
    margin: 0;
    max-width: 759px;
    width: 100%;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: #535862;
}

.success-hero__actions {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 480px;
    width: 100%;
}

.success-hero__btn {
    direction: ltr;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow:
        0 1px 2px rgba(10, 13, 18, 0.05),
        inset 0 0 0 1px rgba(10, 13, 18, 0.18),
        inset 0 -2px 0 rgba(10, 13, 18, 0.05);
}

.success-hero__btn-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.success-hero__btn--ghost {
    background: #fff;
    color: #414651;
    border-color: #d5d7da;
}

.success-hero__btn--solid {
    background: #6a19ff;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

/* People image — Figma 1274×576 at Y 496 → 412 in our canvas */
.success-hero__media {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 412px;
    width: min(1274px, calc(100% - 32px));
    transform: translateX(-50%);
    pointer-events: none;
    filter: drop-shadow(0 -100px 100px rgba(0, 0, 0, 0.1));
}

.success-hero__media-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: bottom center;
}

/* Full-bleed white fade — Figma rect Y 780 → 696, H 293 */
.success-hero__fade {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 696px;
    width: 100%;
    max-width: 1440px;
    height: 293px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   Stats row — 808:13645 — floats over hero fade
   Page Y 945 → our overlap ≈ margin-top −128px
   RTL order (right→left): +140 | +280K | +80 | 24/7
   ═══════════════════════════════════════════ */
.success-stats {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    max-width: 1280px;
    margin: -128px auto 0;
    padding: 0 32px;
}

.success-stats__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
    padding: 40px 20px 20px;
}

.success-stat {
    box-sizing: border-box;
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 191px;
    padding: 40px 24px;
    text-align: center;
    background-image:
        linear-gradient(180deg, rgba(121, 64, 255, 0.05) 35.325%, rgba(106, 25, 255, 0.01) 46.23%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
    background-color: #fff;
    border: 1px solid #e9eaeb;
    border-radius: 16px;
    box-shadow: 0 5px 100px rgba(0, 0, 0, 0.05);
}

.success-stat__value {
    margin: 0;
    font-size: 50px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -1px;
    color: #4107ab;
}

.success-stat__label {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    color: #252b37;
}

/* ═══════════════════════════════════════════
   Logos strip — 808:13384
   ═══════════════════════════════════════════ */
.success-logos {
    box-sizing: border-box;
    max-width: 1280px;
    margin-inline: auto;
    padding: 64px 32px;
    text-align: center;
}

.success-logos__title {
    margin: 0 0 32px;
    font-size: 17px;
    line-height: 26px;
    font-weight: 500;
    color: #333333;
}

.success-logos__row {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.success-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 42px;
}

.success-logo__mark {
    display: block;
    height: 28px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.success-logo__word {
    display: block;
    height: auto;
    max-height: 20px;
    width: auto;
    object-fit: contain;
}

.success-logos__sep {
    width: 1px;
    height: 24px;
    background: #e1e4eb;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   Audience tabs + Featured story — 808:13507 / 808:13508 / 808:13524
   gap tabs→card = 68px | tab 352×97.5 | metrics 110px cols + 9px gaps
   ═══════════════════════════════════════════ */
.success-featured {
    box-sizing: border-box;
    padding: 32px 0 0;
}

.success-featured__inner {
    box-sizing: border-box;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 68px;
}

.success-tabs {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 1210px;
}

.success-tab {
    box-sizing: border-box;
    flex: 1 1 280px;
    max-width: 352px;
    height: 98px;
    padding: 24px 36px;
    border-style: solid;
    border-width: 1px 1px 0;
    border-color: #e9eaeb;
    border-radius: 12px;
    background-color: #ffffff;
    /*
      Inactive default (no hover/focus) — sampled from Figma 808:13509
      top #EFE7FF → #F4EFFF → #FAF8FF → #fff
      text appears ~#A2A4AC (#717680 @ 75% opacity)
    */
    background-image: linear-gradient(
        180deg,
        #efe7ff 0%,
        #f4efff 35%,
        #faf8ff 60%,
        #ffffff 100%
    );
    font-size: 32px;
    line-height: 48px;
    font-weight: 500;
    font-family: inherit;
    color: #a2a4ac;
    opacity: 1;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s ease, border-color 0.2s ease, background-image 0.25s ease;
}

.success-tab.is-active {
    color: #4107ab;
    border-color: #f5f5f5;
    background-color: #ffffff;
    /*
      Active — sampled from Figma 808:13519
      top #C1A7FF → #D3C0FF → #EEE7FF → #fff
    */
    background-image: linear-gradient(
        180deg,
        #c1a7ff 0%,
        #d3c0ff 20%,
        #eee7ff 50%,
        #fdfcff 85%,
        #ffffff 100%
    );
    box-shadow: none;
    opacity: 1;
}

/* Keep default colors on hover — don't wash or intensify away from design */
.success-tab:hover {
    color: #a2a4ac;
}

.success-tab.is-active:hover {
    color: #4107ab;
}

.success-tab:focus {
    outline: none;
}

.success-tab:focus-visible {
    outline: 2px solid #6a19ff;
    outline-offset: 3px;
}

/* ═══════════════════════════════════════════
   Featured story — 808:13524
   LTR packing: IMAGE left | CONTENT right
   Content itself stays RTL for Arabic.
   ═══════════════════════════════════════════ */
.success-featured-card {
    direction: ltr;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1210px;
    min-height: 538px;
    border: 1px solid #d5d7da;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(10, 13, 18, 0.1), 0 1px 2px -1px rgba(10, 13, 18, 0.1);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.success-featured-card.is-switching {
    opacity: 0.35;
    transform: translateY(6px);
}

.success-featured-card__media {
    position: relative;
    flex: 0 0 592px;
    width: 592px;
    max-width: 49%;
    height: 538px;
    min-height: 538px;
    max-height: 538px;
    align-self: flex-start;
    overflow: hidden;
    background: #1a1a1a;
}

.success-featured-card__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(1);
    transition: opacity 0.3s ease;
}

.success-featured-card__content {
    direction: rtl;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* RTL start = right */
    gap: 48px;
    box-sizing: border-box;
    min-width: 0;
    padding: 64px;
    text-align: right;
}

.success-featured-card__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* RTL start = right */
    gap: 16px;
    width: 100%;
}

.success-featured-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 7px;
    background: rgba(106, 25, 255, 0.08);
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    color: #6819fa;
}

.success-featured-card__title {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #181d27;
}

.success-featured-card__text {
    margin: 0;
    max-width: 471px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #535862;
}

.success-featured-card__metrics {
    direction: ltr;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 9px;
    width: 100%;
    max-width: 442px;
}

/* ═══════════════════════════════════════════
   Shared metric — Figma _Metric item
   Featured: w 110 | px 12 | value→label gap 7
   ═══════════════════════════════════════════ */
.success-metric {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    width: 110px;
    flex: 0 0 110px;
    padding-inline: 12px;
    text-align: right;
}

.success-metric__value {
    margin: 0;
    width: 100%;
    font-size: 35px;
    line-height: 42px;
    font-weight: 600;
    letter-spacing: -0.7px;
    color: #181d27;
    text-align: right;
}

.success-metric__value--brand {
    color: #6a19ff;
}

.success-metric__label {
    margin: 0;
    width: 100%;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    color: #181d27;
    text-align: right;
}

.success-metric__divider {
    width: 1px;
    align-self: stretch;
    min-height: 52px;
    background: #e9eaeb;
    flex-shrink: 0;
}

.success-metric--sm {
    width: auto;
    flex: 0 0 auto;
    min-width: 52px;
    padding-inline: 6px;
    gap: 8px;
}

.success-metric--sm .success-metric__value {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.4px;
}

.success-metric--sm .success-metric__label {
    font-size: 12px;
    line-height: 16px;
    color: #181d27;
    font-weight: 400;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════
   Video stories — 808:13563
   LTR packing: CONTENT left | IMAGE right
   Content itself stays RTL for Arabic.
   ═══════════════════════════════════════════ */
.success-videos {
    box-sizing: border-box;
    max-width: 1280px;
    margin-inline: auto;
    padding: 64px 32px;
}

.success-videos__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1210px;
    margin-inline: auto;
    width: 100%;
}

.success-videos__stories {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.success-videos__stories.is-hidden,
.success-videos__stories[hidden] {
    display: none !important;
}

.success-videos__head {
    direction: ltr;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    width: 100%;
}

.success-videos__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.success-videos__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    padding: 1px;
    border-radius: 9999px;
    border: 1px solid #d5d7da;
    background: #fff;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
}

.success-videos__nav-btn:hover {
    background: #f9f5ff;
    border-color: #6a19ff;
    transform: translateY(-2px);
}

.success-videos__nav-btn:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.success-videos__heading {
    flex: 1 1 auto;
    min-width: 0;
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* RTL start = right */
    gap: 15.5px;
}

.success-videos__title {
    margin: 0;
    font-size: 48px;
    line-height: 48px;
    font-weight: 500;
    letter-spacing: -1.2px;
    color: #0f172a;
    white-space: nowrap;
}

.success-videos__desc {
    margin: 0;
    max-width: 552px;
    font-size: 18px;
    line-height: 29.25px;
    font-weight: 500;
    color: #475569;
    text-align: right;
}

.success-video-card {
    direction: ltr;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 546px;
    border: 1px solid #d5d7da;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(10, 13, 18, 0.1), 0 1px 2px -1px rgba(10, 13, 18, 0.1);
    transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.35s ease;
}

.success-video-card__content {
    direction: rtl;
    flex: 1 1 679px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* RTL start = right */
    gap: 0;
    box-sizing: border-box;
    min-width: 0;
    padding: 32px;
    text-align: right;
}

.success-video-card__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    margin-bottom: 28px;
}

.success-video-card__identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.success-video-card__name {
    margin: 0;
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
    color: #0f172a;
    letter-spacing: 0;
    white-space: nowrap;
}

.success-video-card__role {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: #6a19ff;
    white-space: nowrap;
}

.success-video-card__quote {
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 615px;
    padding-inline-start: 24px;
    border-inline-start: 4px solid #6a19ff;
    font-size: 20px;
    line-height: 32.5px;
    font-weight: 500;
    color: #475569;
    text-align: right;
}

.success-video-card__actions {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.success-video-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12.7px 17.75px;
    border-radius: 10px;
    border: 1.27px solid transparent;
    font-size: 17.75px;
    line-height: 25.35px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.success-video-card__btn--ghost {
    min-width: 147px;
    background: #fff;
    color: #414651;
    border-color: #d5d7da;
}

.success-video-card__btn--solid {
    min-width: 214px;
    background: #6a19ff;
    color: #fff;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

.success-video-card__metrics {
    direction: ltr;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 9.35px;
    width: 100%;
    max-width: 442px;
}

.success-video-card__metrics .success-metric__label {
    color: #414651;
    font-size: 10.5px;
    line-height: 16.36px;
    white-space: nowrap;
}

.success-video-card.is-switching {
    opacity: 0.28;
    transform: translateX(18px);
}

.success-video-card.is-switching-prev {
    transform: translateX(-18px);
}

.success-video-card__media {
    position: relative;
    flex: 0 0 530px;
    width: 530px;
    max-width: 46%;
    height: 544px;
    min-height: 544px;
    max-height: 544px;
    align-self: flex-start;
    overflow: hidden;
    background: #1a1a1a;
}

.success-video-card__media > img[data-video-image] {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(1);
}

.success-video-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

.success-video-card__play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    box-sizing: border-box;
    width: 272px;
    height: 272px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-video-card__play:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.success-video-card__play:focus-visible {
    outline: 2px solid #6a19ff;
    outline-offset: -84px;
    border-radius: 9999px;
}

.success-video-card__play-img {
    display: block;
    width: 272px;
    height: 272px;
    max-width: none;
    min-height: 0 !important;
    object-fit: contain;
    object-position: center;
    filter: none !important;
    pointer-events: none;
    user-select: none;
}

.success-video-card.is-pulsing {
    animation: success-video-pulse 0.5s ease;
}

@keyframes success-video-pulse {
    0% { box-shadow: 0 0 0 0 rgba(106, 25, 255, 0.25); }
    100% { box-shadow: 0 0 0 14px rgba(106, 25, 255, 0); }
}

.success-videos__cta {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    padding: 48px;
    background: #fafafa;
    border-radius: 20px;
    overflow: hidden;
}

.success-videos__cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
}

.success-videos__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 258px;
    min-width: 258px;
    padding: 12.7px 17.75px;
    border-radius: 10px;
    background: #6a19ff;
    color: #fff;
    font-size: 17.75px;
    line-height: 25.35px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

.success-videos__cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #6a19ff;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.success-videos__cta-link:hover {
    gap: 16px;
}

.success-videos__cta-link img {
    width: 16px;
    height: 16px;
}

.success-videos__cta-copy {
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* RTL start = right */
    gap: 15px;
    flex: 1 1 320px;
    min-width: 0;
    max-width: 576px;
    text-align: right;
}

.success-videos__cta-title {
    margin: 0;
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: #181d27;
}

.success-videos__cta-desc {
    margin: 0;
    width: 100%;
    font-size: 18px;
    line-height: 29.25px;
    font-weight: 500;
    color: #414651;
}

/* ═══════════════════════════════════════════
   Story grid — 808:13659
   ═══════════════════════════════════════════ */
.success-grid {
    box-sizing: border-box;
    max-width: 1280px;
    margin-inline: auto;
    padding: 80px 32px;
}

.success-grid__inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1210px;
    margin-inline: auto;
    width: 100%;
}

.success-grid__head {
    direction: ltr;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.success-grid__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #6819fa;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.3s ease, opacity 0.2s ease;
}

.success-grid__link:hover {
    gap: 10px;
    opacity: 0.85;
}

.success-grid__link-icon {
    position: relative;
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.success-grid__link-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 13.33px;
    height: 13.33px;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.success-grid__heading {
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* RTL start = right */
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.success-grid__title {
    margin: 0;
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: #0f172a;
}

.success-grid__desc {
    margin: 0;
    max-width: 482px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #475569;
}

.success-grid__cards {
    direction: ltr;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;
    width: 100%;
}

.success-story-card {
    box-sizing: border-box;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* RTL start = right */
    gap: 24px;
    min-width: 0;
    min-height: 300px;
    height: auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
    text-align: right;
}

.success-story-card__head {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    width: 100%;
}

.success-story-card__person {
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.success-story-card__name {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
}

.success-story-card__role {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #6a19ff;
    white-space: normal;
    overflow-wrap: anywhere;
}

.success-story-card__avatar {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.success-story-card__quote {
    margin: 0;
    width: 100%;
    flex: 1 1 auto;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: #475569;
    text-align: right;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.success-story-card__footer {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
}

.success-story-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #eae5ff;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.success-story-card__arrow-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.success-story-card__arrow-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 13.33px;
    height: 13.33px;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.success-story-card__arrow:hover {
    background: #6a19ff;
    transform: scale(1.06);
}

.success-story-card__arrow:hover img {
    filter: brightness(0) invert(1);
}

.success-story-card__metrics {
    direction: ltr;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 4.5px;
    max-width: 212px;
}

.success-story-card__metrics .success-metric--sm {
    width: auto;
    min-width: 0;
    padding-inline: 5.76px;
    gap: 8px;
}

.success-story-card__metrics .success-metric__value {
    font-size: 20px;
    line-height: 20.18px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: #181d27;
}

.success-story-card__metrics .success-metric__label {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #181d27;
    white-space: nowrap;
}

.success-story-card__metrics .success-metric__divider {
    min-height: 36px;
}

/* ═══════════════════════════════════════════
   Testimonials — 808:13765
   ═══════════════════════════════════════════ */
.success-testimonials {
    box-sizing: border-box;
    max-width: 1280px;
    margin-inline: auto;
    padding: 64px 32px 96px;
}

.success-testimonials__inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.success-testimonials__title {
    margin: 0;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: #181d27;
    text-align: center;
}

.success-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.success-testimonial-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: #fafafa;
    border-radius: 12px;
    text-align: right;
}

.success-testimonial-card__stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.success-testimonial-card__quote {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: #181d27;
    width: 100%;
}

.success-testimonial-card__person {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
}

.success-testimonial-card__text {
    direction: rtl;
    text-align: right;
}

.success-testimonial-card__name {
    direction: ltr;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 2px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #181d27;
}

.success-testimonial-card__role {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #535862;
}

.success-testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    object-fit: cover;
    border: 0.75px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   Purple CTA banner — 808:13869 (mirrors about-cta)
   ═══════════════════════════════════════════ */
.success-cta {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 32px 64px;
}

.success-cta__box {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    padding: 64px 112px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(180deg, #8855ff 50%, #6a19ff 96.667%),
        #f3f1ff;
}

.success-cta__deco {
    position: absolute;
    left: -6.25%;
    right: -6.25%;
    top: 4.7%;
    bottom: -43.6%;
    width: 112.5%;
    height: auto;
    max-width: none;
    pointer-events: none;
    opacity: 0.55;
}

.success-cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.success-cta__eyebrow {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    color: #fff;
}

.success-cta__title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.success-cta__title {
    position: relative;
    margin: 0;
    font-size: 48px;
    line-height: 60px;
    font-weight: 600;
    letter-spacing: -0.96px;
    color: #fff;
}

.success-cta__minutes {
    position: relative;
    display: inline-block;
}

.success-cta__zap {
    position: absolute;
    width: 36px;
    height: 36px;
    left: -44px;
    top: 50%;
    transform: translateY(-50%);
}

.success-cta__desc {
    margin: 0;
    font-size: 16px;
    line-height: normal;
    font-weight: 300;
    color: #fff;
}

.success-cta__avatars {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 32px;
}

.success-cta__avatars > * {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    box-shadow: 0 0 0 1.5px #fff;
    flex-shrink: 0;
}

.success-cta__avatars > * + * {
    margin-left: -8px;
}

.success-cta__avatars img {
    object-fit: cover;
    border: 0.75px solid rgba(0, 0, 0, 0.08);
}

.success-cta__avatars span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 0.75px solid #e9eaeb;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #717680;
}

.success-cta__actions {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.success-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 158px;
    height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.success-cta__btn:hover {
    transform: translateY(-1px);
}

.success-cta__btn--solid {
    width: 158px;
    color: #414651;
    background: #fff;
    border: 1px solid #d5d7da;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

.success-cta__btn--ghost {
    width: 176px;
    color: #fff;
    background: transparent;
    border: 1px solid transparent;
}

/* ═══════════════════════════════════════════
   Final CTA — 808:13632
   «هل تريد أن تكون قصة النجاح القادمة؟»
   ═══════════════════════════════════════════ */
.success-final-cta {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 32px;
    background: #fff;
}

.success-final-cta__box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding: 32px 32px 40px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    background: #6a19ff;
}

.success-final-cta__avatars {
    position: relative;
    width: 120px;
    height: 56px;
    flex-shrink: 0;
}

.success-final-cta__avatars img {
    position: absolute;
    top: 0;
    border-radius: 9999px;
    object-fit: cover;
    border: 1.5px solid #fff;
    background: #e3c6d1;
}

.success-final-cta__avatars img:nth-child(1) {
    left: 0;
    top: 8px;
    width: 48px;
    height: 48px;
    z-index: 1;
}

.success-final-cta__avatars img:nth-child(2) {
    left: 72px;
    top: 8px;
    width: 48px;
    height: 48px;
    z-index: 1;
    background: #c6d0cb;
}

.success-final-cta__avatars img:nth-child(3) {
    left: 32px;
    top: 0;
    width: 56px;
    height: 56px;
    z-index: 2;
    background: #ddc0ce;
}

.success-final-cta__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 768px;
    width: 100%;
}

.success-final-cta__title {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #fff;
}

.success-final-cta__desc {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #fff;
}

.success-final-cta__actions {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.success-final-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.success-final-cta__btn:hover {
    transform: translateY(-1px);
}

/* Figma left: white solid «تواصل مع المبيعات» */
.success-final-cta__btn--white {
    color: #414651;
    background: #fff;
    border: 1px solid #d5d7da;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

/* Figma right: brand outline «ابدأ تجربتك المجانية الآن» */
.success-final-cta__btn--outline {
    color: #fff;
    background: #6a19ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 1280px) {
    .success-featured-card__media {
        flex-basis: 45%;
        width: 45%;
    }

}

@media (max-width: 1024px) {
    .success-hero {
        min-height: 0;
    }

    .success-grid__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .success-hero__ellipse {
        top: -420px;
        width: 1200px;
        height: 1200px;
    }

    .success-hero__stripes {
        width: 120%;
        left: -10%;
    }

    .success-hero__glow-center {
        width: 360px;
        height: 340px;
        top: 40px;
    }

    .success-hero__glare {
        display: none;
    }

    .success-hero__inner {
        padding-top: 48px;
    }

    .success-hero__copy {
        min-height: 0;
        gap: 32px;
        max-width: 100%;
    }

    .success-hero__title {
        font-size: 44px;
        line-height: 52px;
        white-space: normal;
    }

    .success-hero__media {
        position: relative;
        top: auto;
        left: auto;
        width: min(960px, calc(100% - 24px));
        margin: 8px auto 0;
        transform: none;
        filter: drop-shadow(0 -40px 60px rgba(0, 0, 0, 0.08));
    }

    .success-hero.is-loaded .success-hero__media {
        animation-name: success-fade-up;
    }

    .success-hero__fade {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: -140px auto 0;
        height: 180px;
        width: 100%;
    }

    .success-stats {
        margin-top: -72px;
    }

    .success-stats__grid {
        flex-wrap: wrap;
        padding-top: 24px;
    }

    .success-stat {
        flex-basis: calc(50% - 10px);
    }

    .success-featured-card,
    .success-video-card {
        flex-direction: column;
    }

    .success-featured-card__media,
    .success-video-card__media {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        height: 320px;
        min-height: 320px;
        max-height: 320px;
        align-self: stretch;
        order: -1; /* image on top on mobile */
    }

    .success-video-card__media > img[data-video-image] {
        min-height: 0;
    }

    .success-video-card__play,
    .success-video-card__play-img {
        width: 180px;
        height: 180px;
    }

    .success-featured-card__content,
    .success-video-card__content {
        width: 100%;
        padding: 32px 24px;
        gap: 32px;
    }

    .success-video-card {
        min-height: 0;
    }

    .success-video-card__copy {
        max-height: none;
    }

    .success-video-card__name,
    .success-video-card__role,
    .success-videos__title {
        white-space: normal;
    }

    .success-video-card__name {
        font-size: 28px;
        line-height: 36px;
    }

    .success-video-card__role {
        font-size: 16px;
        line-height: 24px;
    }

    .success-video-card__quote {
        font-size: 16px;
        line-height: 28px;
        max-width: 100%;
    }

    .success-videos__cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 32px 24px;
    }

    .success-videos__cta-btn {
        width: 100%;
        min-width: 0;
    }

    .success-videos__cta-copy {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .success-videos__cta-title {
        font-size: 24px;
        line-height: 32px;
    }

    .success-videos__cta-desc {
        font-size: 16px;
        line-height: 26px;
        text-align: center;
    }

    .success-videos__cta-actions {
        order: -1;
    }

    .success-videos__cta-copy,
    .success-videos__cta-desc {
        text-align: center;
        margin-inline: auto;
    }

    .success-grid__cards {
        grid-template-columns: 1fr;
    }

    .success-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .success-story-card {
        height: auto;
        min-height: 0;
    }

    .success-grid__head {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .success-grid__heading {
        align-items: flex-start;
    }

    .success-grid__link {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .success-hero__copy {
        gap: 24px;
    }

    .success-hero__heading {
        max-width: 100%;
    }

    .success-hero__title {
        font-size: 32px;
        line-height: 40px;
    }

    .success-hero__desc {
        font-size: 16px;
        line-height: 24px;
    }

    .success-hero__desc br {
        display: none;
    }

    .success-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .success-hero__btn {
        width: 100%;
        justify-content: center;
    }

    .success-hero__media {
        width: calc(100% - 16px);
    }

    .success-hero__fade {
        margin-top: -100px;
        height: 140px;
    }

    .success-stats {
        margin-top: -48px;
    }

    .success-stats__grid {
        padding: 16px 0 0;
    }

    .success-stat {
        flex-basis: 100%;
        min-height: 0;
        padding: 32px 20px;
    }

    .success-stat__value {
        font-size: 36px;
        line-height: 44px;
    }

    .success-tabs {
        flex-direction: column;
    }

    .success-tab {
        max-width: 100%;
        height: 64px;
        font-size: 22px;
        line-height: 32px;
        padding: 16px 20px;
    }

    .success-featured__inner {
        gap: 32px;
    }

    .success-featured-card__metrics,
    .success-video-card__metrics {
        gap: 8px;
        max-width: 100%;
        justify-content: space-between;
    }

    .success-metric {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        padding-inline: 8px;
    }

    .success-metric__value {
        font-size: 26px;
        line-height: 32px;
    }

    .success-metric__label {
        white-space: normal;
        font-size: 10px;
    }

    .success-videos__title {
        font-size: 30px;
        line-height: 38px;
    }

    .success-story-card__head {
        flex-wrap: wrap;
    }

    .success-cta__box,
    .success-final-cta__box {
        padding: 40px 24px;
    }

    .success-cta__title {
        font-size: 30px;
        line-height: 40px;
    }

    .success-cta__zap {
        width: 26px;
        height: 26px;
        left: -32px;
    }

    .success-final-cta__title {
        font-size: 18px;
        line-height: 26px;
    }

    .success-final-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .success-final-cta__btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════
   Motion — entrance, hover, ambient
   ═══════════════════════════════════════════ */

/* Hero entrance */
.success-hero__anim-item {
    opacity: 0;
    transform: translateY(28px);
}

.success-hero.is-loaded .success-hero__anim-item {
    animation: success-fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.success-hero.is-loaded .success-hero__heading { animation-delay: 0.06s; }
.success-hero.is-loaded .success-hero__actions { animation-delay: 0.28s; }

.success-hero.is-loaded .success-hero__media {
    animation: success-media-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.38s;
}

.success-hero.is-loaded .success-hero__ellipse {
    animation: success-ellipse-in 1.4s ease-out forwards;
}

.success-hero.is-loaded .success-hero__glare {
    animation: success-glare-in 1.2s ease-out forwards;
    animation-delay: 0.55s;
}

.success-hero__media {
    opacity: 0;
}

.success-hero__ellipse {
    opacity: 0;
}

.success-hero__glare {
    opacity: 0;
}

@keyframes success-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes success-media-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(40px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes success-ellipse-in {
    from { opacity: 0; }
    to { opacity: 0.85; }
}

@keyframes success-glare-in {
    from { opacity: 0; transform: scale(0.6) rotate(-12deg); }
    to { opacity: 0.55; transform: scale(1) rotate(0deg); }
}

/* Ambient glow breathe */
.success-hero.is-loaded .success-hero__glow-center {
    animation: success-glow-breathe 8s ease-in-out infinite;
    animation-delay: 1.4s;
}

@keyframes success-glow-breathe {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

/* Card hover lifts */
.success-stat,
.success-featured-card,
.success-video-card,
.success-story-card,
.success-testimonial-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.success-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(106, 25, 255, 0.12);
}

.success-featured-card:hover,
.success-video-card:hover {
    box-shadow: 0 12px 40px rgba(106, 25, 255, 0.1), 0 4px 12px rgba(10, 13, 18, 0.06);
}

.success-featured-card__media img,
.success-video-card__media > img[data-video-image] {
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.success-featured-card:hover .success-featured-card__media img,
.success-video-card:hover .success-video-card__media > img[data-video-image] {
    transform: scale(1.04);
}

.success-story-card:hover,
.success-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(106, 25, 255, 0.1);
}

/* Tab transition */
.success-tab {
    will-change: color, background-image;
}

/* CTA banners */
.success-cta__box,
.success-final-cta__box {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.success-cta__box:hover,
.success-final-cta__box:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(106, 25, 255, 0.28);
}

.success-cta__zap {
    animation: success-zap 2.2s ease-in-out infinite;
}

@keyframes success-zap {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    40% { transform: translateY(-50%) scale(1.15) rotate(-8deg); opacity: 0.9; }
    55% { transform: translateY(-50%) scale(0.95); }
}

.success-cta__btn,
.success-final-cta__btn {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.success-cta__btn--solid:hover,
.success-final-cta__btn--white:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.success-cta__btn--ghost:hover,
.success-final-cta__btn--outline:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .success-hero__anim-item,
    .success-hero__media,
    .success-hero__ellipse,
    .success-hero__glare,
    .success-hero__glow-center,
    .success-cta__zap {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .success-hero.is-loaded .success-hero__media {
        transform: none !important;
        opacity: 1 !important;
    }

    @media (min-width: 1025px) {
        .success-hero.is-loaded .success-hero__media {
            transform: translateX(-50%) !important;
        }
    }

    .success-stat,
    .success-featured-card,
    .success-video-card,
    .success-story-card,
    .success-testimonial-card,
    .success-featured-card__media img,
    .success-video-card__media > img[data-video-image],
    .success-cta__box,
    .success-final-cta__box,
    .success-cta__btn,
    .success-final-cta__btn,
    .success-tab {
        transition: none !important;
    }

    .success-stat:hover,
    .success-featured-card:hover,
    .success-video-card:hover,
    .success-story-card:hover,
    .success-testimonial-card:hover,
    .success-cta__box:hover,
    .success-final-cta__box:hover,
    .success-cta__btn:hover,
    .success-final-cta__btn:hover {
        transform: none !important;
    }
}

/* Featured role line */
.success-featured-card__role {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #6941c6;
}

.success-featured-card__role[hidden] {
    display: none !important;
}

.success-featured-card__media.is-video-ready {
    cursor: pointer;
}

.success-video-card__metrics.is-hidden,
.success-featured-card__metrics.is-hidden {
    display: none !important;
}

/* YouTube story modal */
body.success-video-modal-open {
    overflow: hidden;
}

.success-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.success-video-modal[hidden] {
    display: none !important;
}

.success-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 18, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.success-video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    background: #0a0d12;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 24px 48px rgba(10, 13, 18, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    outline: none;
    animation: successVideoModalIn 0.22s ease-out;
}

@keyframes successVideoModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #181d27;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.success-video-modal__title {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: #fff;
}

.success-video-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.success-video-modal__close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.success-video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.success-video-modal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}

@media (max-width: 640px) {
    .success-video-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .success-video-modal__dialog {
        border-radius: 14px 14px 10px 10px;
        width: 100%;
    }
}

.success-videos__stories.is-hidden,
.success-videos__stories[hidden] {
    display: none !important;
}

.success-featured-card__media img[src*="instructor-moaz-elmasry"] {
    object-position: center 28%;
}

.success-featured-card__media img[src*="academy-kayan"] {
    object-fit: contain;
    object-position: center center;
    filter: none;
    padding: 48px 40px;
    box-sizing: border-box;
    background: #000;
}
