body.body__wrapper.alpha-homepage {
    --home-ink: #f8faff;
    --home-muted: #b9c2e4;
    --home-line: rgba(255, 255, 255, 0.12);
    --home-surface: rgba(12, 18, 48, 0.72);
    --alpha-ink: #f8faff;
    --alpha-muted: #b9c2e4;
    --alpha-surface: rgba(12, 18, 48, 0.76);
    --alpha-surface-solid: #111735;
    --alpha-surface-soft: #171f46;
    --alpha-border: rgba(255, 255, 255, 0.13);
    --alpha-shadow-sm: 0 16px 42px rgba(0, 0, 0, 0.23);
    --alpha-shadow-md: 0 28px 68px rgba(0, 0, 0, 0.34);
    color: var(--home-ink);
    background:
        radial-gradient(circle at 8% 18%, rgba(124, 58, 237, 0.22), transparent 30rem),
        radial-gradient(circle at 88% 74%, rgba(34, 211, 238, 0.14), transparent 32rem),
        #070b20;
}

body.body__wrapper.alpha-homepage .headerarea,
body.body__wrapper.alpha-homepage .headerarea.alpha-header-scrolled,
body.body__wrapper.alpha-homepage .header__area.sticky {
    border-block-end-color: rgba(255, 255, 255, 0.12);
    background: rgba(7, 11, 32, 0.86);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.alpha-homepage :where(.alpha-card, .alpha-panel) {
    border-color: var(--home-line);
    background: var(--home-surface);
    box-shadow: var(--alpha-shadow-sm);
    backdrop-filter: blur(18px) saturate(135%);
}

.alpha-homepage .alpha-card--interactive:hover {
    border-color: rgba(103, 232, 249, 0.38);
    box-shadow: var(--alpha-shadow-md), 0 0 42px rgba(124, 58, 237, 0.12);
}

.alpha-homepage .alpha-kicker {
    color: #8ce8f2;
}

.alpha-homepage .alpha-chip {
    border-color: rgba(255, 255, 255, 0.16);
    color: #eef2ff;
    background: rgba(6, 11, 36, 0.45);
}

.alpha-homepage .main_wrapper {
    overflow: clip;
}

.alpha-home-skip {
    position: fixed;
    inset-block-start: 1rem;
    inset-inline-start: 1rem;
    z-index: 99999;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    color: #07102a;
    background: #fff;
    font-weight: 800;
    transform: translateY(-180%);
    transition: transform 180ms ease;
}

.alpha-home-skip:focus {
    transform: translateY(0);
}

.alpha-home-hero {
    position: relative;
    min-height: clamp(760px, 92vh, 980px);
    display: grid;
    align-items: center;
    isolation: isolate;
    border-block-end: 1px solid var(--home-line);
    background-image:
        linear-gradient(90deg, rgba(4, 8, 28, 0.98) 4%, rgba(5, 10, 32, 0.92) 36%, rgba(6, 10, 32, 0.4) 70%, rgba(6, 10, 32, 0.28)),
        url('../images/alpha-ui/learning-universe.jpg');
    background-size: cover;
    background-position: center;
}

[dir="rtl"] .alpha-home-hero {
    background-image:
        linear-gradient(270deg, rgba(4, 8, 28, 0.98) 4%, rgba(5, 10, 32, 0.92) 36%, rgba(6, 10, 32, 0.4) 70%, rgba(6, 10, 32, 0.28)),
        url('../images/alpha-ui/learning-universe.jpg');
    background-position: center;
}

.alpha-home-hero::before,
.alpha-home-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

.alpha-home-hero::before {
    width: 22rem;
    height: 22rem;
    inset-inline-start: -8rem;
    inset-block-start: 12%;
    background: rgba(124, 58, 237, 0.2);
    animation: alpha-home-float 9s ease-in-out infinite;
}

.alpha-home-hero::after {
    width: 15rem;
    height: 15rem;
    inset-inline-end: 6%;
    inset-block-end: 3%;
    background: rgba(251, 113, 133, 0.18);
    animation: alpha-home-float 11s ease-in-out infinite reverse;
}

.alpha-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    padding-block: clamp(7rem, 12vw, 10rem) 5rem;
}

.alpha-home-copy {
    max-width: 760px;
}

.alpha-home-copy h1 {
    max-width: 13ch;
    margin: 1.25rem 0 1.35rem;
    color: #fff;
    font-size: clamp(3rem, 7.2vw, 6.8rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.95;
    text-wrap: balance;
}

[dir="rtl"] .alpha-home-copy h1 {
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.alpha-home-copy__lead {
    max-width: 62ch;
    margin: 0;
    color: var(--home-muted);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.8;
}

.alpha-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-block-start: 2rem;
}

.alpha-home-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-block-start: 2rem;
}

.alpha-home-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.35rem;
    padding-inline: 0.9rem;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    color: #dbe4ff;
    background: rgba(8, 13, 38, 0.62);
    backdrop-filter: blur(14px);
    font-size: 0.84rem;
    font-weight: 700;
}

.alpha-home-trust i {
    color: #67e8f9;
}

.alpha-campus-hierarchy {
    max-width: 680px;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none;
    border: 1px solid var(--home-line);
    border-radius: 1.1rem;
    overflow: hidden;
    color: #eef2ff;
    background: rgba(6, 11, 36, 0.62);
    backdrop-filter: blur(16px);
}

.alpha-campus-hierarchy li {
    position: relative;
    min-height: 70px;
    padding: 0.8rem;
    display: grid;
    align-content: center;
    gap: 0.2rem;
    border-inline-end: 1px solid var(--home-line);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.alpha-campus-hierarchy li:last-child {
    border-inline-end: 0;
}

.alpha-campus-hierarchy li span {
    color: #67e8f9;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.alpha-chip--course {
    color: #ffffff !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, #7657ff, #0fb8c9) !important;
}

.alpha-quest-preview {
    position: relative;
    width: min(100%, 430px);
    justify-self: end;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(12, 20, 58, 0.86), rgba(15, 12, 44, 0.68));
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42), 0 0 60px rgba(124, 58, 237, 0.15);
    backdrop-filter: blur(24px) saturate(150%);
}

.alpha-quest-preview::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(103, 232, 249, 0.55), transparent 35%, rgba(244, 114, 182, 0.45));
}

.alpha-quest-preview__visual {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    padding: 1.15rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, transparent 20%, rgba(5, 9, 30, 0.92)),
        url('../images/alpha-ui/learning-guide.jpg') center 66% / cover;
}

.alpha-quest-preview__level {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    background: rgba(6, 11, 36, 0.78);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    font-weight: 800;
}

.alpha-quest-preview__content {
    padding: 1.25rem 0.35rem 0.3rem;
}

.alpha-quest-preview__content h2 {
    margin: 0.4rem 0 1rem;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.25;
}

.alpha-quest-preview__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-block-end: 0.65rem;
    color: #cbd5f5;
    font-size: 0.78rem;
    font-weight: 700;
}

.alpha-quest-preview__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-block-start: 1rem;
}

.alpha-quest-preview__badge {
    padding: 0.8rem;
    border: 1px solid var(--home-line);
    border-radius: 1rem;
    color: #dce5ff;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    font-weight: 700;
}

.alpha-home-section {
    position: relative;
    padding-block: clamp(5rem, 9vw, 8rem);
}

.alpha-home-section--soft {
    border-block: 1px solid var(--home-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(124, 58, 237, 0.055));
}

.alpha-home-heading {
    max-width: 780px;
    margin-block-end: 2.8rem;
}

.alpha-home-heading--center {
    margin-inline: auto;
    text-align: center;
}

.alpha-home-heading h2 {
    margin: 0.7rem 0 0.8rem;
    color: #fff;
    font-size: clamp(2.15rem, 4.5vw, 4.25rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-wrap: balance;
}

.alpha-home-heading p {
    margin: 0;
    color: var(--home-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.alpha-journey-grid {
    counter-reset: alpha-step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.alpha-journey-step {
    counter-increment: alpha-step;
    position: relative;
    min-height: 270px;
    padding: 1.5rem;
    overflow: hidden;
}

.alpha-journey-step::after {
    content: '0' counter(alpha-step);
    position: absolute;
    inset-inline-end: 1rem;
    inset-block-end: -0.25rem;
    color: rgba(255, 255, 255, 0.05);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
}

.alpha-journey-step__icon,
.alpha-experience-card__icon {
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.05rem;
    color: #fff;
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.82), rgba(6, 182, 212, 0.64));
    box-shadow: 0 16px 35px rgba(76, 29, 149, 0.26);
    font-size: 1.35rem;
}

.alpha-journey-step:nth-child(2) .alpha-journey-step__icon,
.alpha-experience-card:nth-child(2) .alpha-experience-card__icon {
    background: linear-gradient(145deg, #f97316, #ec4899);
}

.alpha-journey-step:nth-child(3) .alpha-journey-step__icon,
.alpha-experience-card:nth-child(3) .alpha-experience-card__icon {
    background: linear-gradient(145deg, #06b6d4, #2563eb);
}

.alpha-journey-step:nth-child(4) .alpha-journey-step__icon,
.alpha-experience-card:nth-child(4) .alpha-experience-card__icon {
    background: linear-gradient(145deg, #eab308, #f97316);
}

.alpha-journey-step h3,
.alpha-experience-card h3 {
    margin: 1.25rem 0 0.65rem;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 800;
}

.alpha-journey-step p,
.alpha-experience-card p {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.7;
}

.alpha-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.alpha-path-card {
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 1.35rem;
    isolation: isolate;
}

.alpha-path-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(145deg, #312e81, #7c3aed 50%, #db2777);
    transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.alpha-path-card:nth-child(3n + 2)::before {
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(145deg, #0f766e, #0891b2 48%, #2563eb);
}

.alpha-path-card:nth-child(3n + 3)::before {
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(145deg, #9a3412, #ea580c 48%, #eab308);
}

.alpha-path-card::after {
    content: '';
    position: absolute;
    inset: 35% 0 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(3, 6, 24, 0.94));
}

.alpha-path-card:hover::before {
    transform: scale(1.06) rotate(-1deg);
}

.alpha-path-card__orb {
    position: absolute;
    inset-block-start: 1.4rem;
    inset-inline-end: 1.4rem;
    width: 7rem;
    height: 7rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.18), 0 18px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    font-size: 2rem;
}

.alpha-path-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-block-end: 0.8rem;
}

.alpha-path-card h3 {
    margin: 0 0 0.6rem;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.2;
}

.alpha-path-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 1rem;
    color: #dce5ff;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.alpha-path-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    font-weight: 800;
}

[dir="rtl"] .alpha-path-card__link i {
    transform: scaleX(-1);
}

.alpha-empty-paths {
    grid-column: 1 / -1;
    padding: 3rem;
    text-align: center;
}

.alpha-experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.alpha-experience-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    align-items: start;
    padding: 1.45rem;
}

.alpha-experience-card h3 {
    margin-block-start: 0.1rem;
}

.alpha-home-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 5rem);
    text-align: center;
    background:
        linear-gradient(135deg, rgba(76, 29, 149, 0.92), rgba(30, 64, 175, 0.9) 55%, rgba(8, 145, 178, 0.86)),
        url('../images/alpha-ui/learning-universe.jpg') center / cover;
}

.alpha-home-cta::after {
    content: '';
    position: absolute;
    width: 16rem;
    height: 16rem;
    inset-inline-end: -4rem;
    inset-block-start: -6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(4px);
}

.alpha-home-cta h2 {
    position: relative;
    z-index: 1;
    max-width: 16ch;
    margin: 0.75rem auto 1rem;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.alpha-home-cta p {
    position: relative;
    z-index: 1;
    max-width: 58ch;
    margin: 0 auto;
    color: #e0e7ff;
    line-height: 1.7;
}

.alpha-home-cta .alpha-home-actions {
    position: relative;
    z-index: 1;
    justify-content: center;
}

@keyframes alpha-home-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -22px, 0) scale(1.05); }
}

@media (max-width: 991px) {
    .alpha-home-hero {
        min-height: auto;
        background-image:
            linear-gradient(180deg, rgba(4, 8, 28, 0.9), rgba(5, 10, 32, 0.94) 65%, #070b20),
            url('../images/alpha-ui/learning-universe.jpg');
        background-position: 64% center;
    }

    .alpha-home-hero__grid {
        grid-template-columns: 1fr;
        padding-block-start: 8.5rem;
    }

    .alpha-quest-preview {
        justify-self: start;
    }

    .alpha-journey-grid,
    .alpha-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .alpha-home-copy h1 {
        font-size: clamp(2.8rem, 15vw, 4.2rem);
    }

    .alpha-home-actions .alpha-button {
        width: 100%;
        justify-content: center;
    }

    .alpha-campus-hierarchy {
        grid-template-columns: 1fr;
    }

    .alpha-campus-hierarchy li {
        border-inline-end: 0;
        border-block-end: 1px solid var(--home-line);
    }

    .alpha-campus-hierarchy li:last-child {
        border-block-end: 0;
    }

    .alpha-journey-grid,
    .alpha-path-grid,
    .alpha-experience-grid,
    .alpha-experience-card {
        grid-template-columns: 1fr;
    }

    .alpha-path-card {
        min-height: 340px;
    }

    .alpha-quest-preview__footer {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .alpha-home-hero::before,
    .alpha-home-hero::after {
        animation: none;
    }

    .alpha-path-card::before {
        transition: none;
    }
}
