/* =========================================
   SPEDIA UNI FONTS
   ========================================= */

@font-face {
    font-family: "Al Qabas";
    src: url("../fonts/AlQabasRegular.dc409872836a.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Al Qabas";
    src: url("../fonts/AlQabasBold.f466e540c871.ttf") format("truetype");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   SPEDIA UNI — DESIGN SYSTEM
   ========================================= */

:root {
    --turquoise: #0dbbc3;
    --turquoise-dark: #079da4;

    --navy: #0b1f3a;

    --cyan-light: #ddf8f9;
    --gray-light: #f5f7fa;

    --success: #22c55e;
    --warning: #f59e0b;

    --white: #ffffff;
    --dark: #111827;
    --gray: #6b7280;

    --border: rgba(11, 31, 58, 0.09);

    --shadow-sm:
        0 10px 30px rgba(11, 31, 58, 0.07);

    --shadow-lg:
        0 35px 80px rgba(11, 31, 58, 0.14);

    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 32px;

    --page-width: 1180px;
}


/* =========================================
   RESET
   ========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 55%,
            #f7fbfc 100%
        );

    color: var(--navy);

    font-family:
        "Al Qabas",
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    overflow-x: hidden;
}

a {
    color: inherit;
}


/* =========================================
   NAVIGATION
   ========================================= */

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;

    padding:
        max(18px, env(safe-area-inset-top))
        20px
        0;
}

.nav-container {
    width: 100%;
    max-width: var(--page-width);

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;

    text-decoration: none;
}

.brand-mark {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--turquoise);
    color: var(--white);

    font-size: 23px;
    font-weight: 900;
    font-style: italic;

    box-shadow:
        0 8px 20px rgba(13, 187, 195, 0.24);
}

.brand-copy {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-copy strong {
    font-size: 19px;
    letter-spacing: -0.5px;
}

.brand-copy small {
    width: fit-content;

    margin-top: 4px;
    padding: 2px 8px;

    border-radius: 20px;

    background: var(--turquoise);
    color: var(--white);

    font-size: 8px;
    font-weight: 800;
}

.nav-login {
    min-height: 43px;

    display: flex;
    align-items: center;

    padding: 0 17px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.82);

    color: var(--navy);

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    backdrop-filter: blur(15px);
}


/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    padding:
        105px
        20px
        45px;

    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: var(--page-width);

    margin: 0 auto;

    display: grid;
    gap: 34px;
}

.hero-copy {
    text-align: right;
}

.eyebrow {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 17px;

    padding: 8px 12px;

    border: 1px solid rgba(13, 187, 195, 0.18);
    border-radius: 999px;

    background: rgba(221, 248, 249, 0.62);

    color: var(--turquoise-dark);

    font-size: 12px;
    font-weight: 800;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--turquoise);

    box-shadow:
        0 0 0 5px rgba(13, 187, 195, 0.12);
}

.hero h1 {
    max-width: 750px;

    margin: 0;

    color: var(--navy);

    font-size: clamp(38px, 10.8vw, 72px);
    line-height: 1.06;

    letter-spacing: -1.5px;
}

.hero h1 span {
    display: block;

    margin-top: 4px;

    color: var(--turquoise);
}

.hero-description {
    max-width: 600px;

    margin: 19px 0 0;

    color: var(--gray);

    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.85;

    font-weight: 500;
}

.hero-actions {
    margin-top: 25px;
}

.button {
    min-height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    padding: 0 22px;

    border-radius: 17px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.button svg {
    width: 19px;
    height: 19px;
}

.button--primary {
    width: 100%;

    background: var(--turquoise);
    color: var(--white);

    box-shadow:
        0 15px 35px rgba(13, 187, 195, 0.24);
}

.button--primary:active {
    transform: scale(0.98);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;

    margin-top: 20px;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 6px;

    color: var(--gray);

    font-size: 11px;
    font-weight: 700;
}

.proof-icon {
    width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(34, 197, 94, 0.1);
    color: var(--success);

    font-size: 10px;
    font-weight: 900;
}


/* =========================================
   PRODUCT MOCKUP
   ========================================= */

.product-stage {
    position: relative;

    width: 100%;
    max-width: 390px;

    margin: 2px auto 0;

    display: flex;
    justify-content: center;

    perspective: 1000px;
}

.phone {
    position: relative;
    z-index: 2;

    width: min(72vw, 270px);

    padding: 8px;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 37px;

    background: var(--navy);

    box-shadow: var(--shadow-lg);

    transform:
        rotate(-2deg)
        translateY(5px);
}

.phone::before {
    content: "";

    position: absolute;
    z-index: 5;

    top: 14px;
    left: 50%;

    width: 72px;
    height: 20px;

    transform: translateX(-50%);

    border-radius: 20px;

    background: var(--navy);
}

.phone-screen {
    min-height: 440px;

    padding: 43px 13px 18px;

    border-radius: 30px;

    background:
        linear-gradient(
            180deg,
            #f8fcfd 0%,
            #ffffff 100%
        );

    overflow: hidden;
}

.phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 13px;

    border-bottom: 1px solid var(--border);

    color: var(--gray);

    font-size: 9px;
    font-weight: 700;
}

.mini-logo {
    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--turquoise);
    color: var(--white);

    font-weight: 900;
}

.course-heading {
    padding: 17px 2px 12px;
}

.course-heading small {
    color: var(--turquoise);

    font-size: 9px;
    font-weight: 900;
}

.course-heading h2 {
    margin: 3px 0 13px;

    color: var(--navy);

    font-size: 21px;
    letter-spacing: -0.6px;
}

.progress-row {
    display: flex;
    justify-content: space-between;

    color: var(--gray);

    font-size: 8px;
}

.progress-row strong {
    color: var(--turquoise);
}

.progress {
    height: 5px;

    margin-top: 6px;

    border-radius: 10px;

    background: #e9eef1;

    overflow: hidden;
}

.progress span {
    display: block;

    width: 38%;
    height: 100%;

    border-radius: inherit;

    background: var(--turquoise);
}

.lesson-card {
    display: grid;
    grid-template-columns: 34px 1fr 18px;
    align-items: center;
    gap: 9px;

    margin-top: 8px;
    padding: 11px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--white);
}

.lesson-card--active {
    border-color: rgba(13, 187, 195, 0.17);

    background:
        linear-gradient(
            135deg,
            rgba(221, 248, 249, 0.72),
            #ffffff
        );
}

.lesson-number {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--gray-light);
    color: var(--navy);

    font-size: 9px;
    font-weight: 900;
}

.lesson-card--active .lesson-number {
    background: var(--turquoise);
    color: var(--white);
}

.lesson-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.lesson-info small {
    color: var(--turquoise);

    font-size: 6px;
    font-weight: 900;
}

.lesson-info strong {
    margin-top: 2px;

    overflow: hidden;

    color: var(--navy);

    font-size: 10px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.lesson-info span {
    margin-top: 2px;

    color: var(--gray);

    font-size: 7px;
}

.lesson-arrow {
    color: var(--gray);

    font-size: 12px;
}


/* =========================================
   FLOATING UI
   ========================================= */

.float-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 11px;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.9);

    box-shadow: var(--shadow-sm);

    backdrop-filter: blur(14px);
}

.float-card small,
.float-card strong {
    display: block;
}

.float-card small {
    color: var(--gray);

    font-size: 7px;
}

.float-card strong {
    margin-top: 2px;

    color: var(--navy);

    font-size: 8px;
}

.float-card--quiz {
    top: 85px;
    left: -1px;

    animation:
        floatCard 4.2s ease-in-out infinite;
}

.float-icon {
    width: 26px;
    height: 26px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(34, 197, 94, 0.11);
    color: var(--success);

    font-size: 12px;
    font-weight: 900;
}

.float-card--teacher {
    right: -4px;
    bottom: 80px;

    animation:
        floatCard 4.7s ease-in-out 0.5s infinite;
}

.teacher-avatar {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--navy);
    color: var(--white);

    font-size: 10px;
    font-weight: 900;
}


/* =========================================
   BACKGROUND SHAPES
   ========================================= */

.hero-shape {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(2px);
}

.hero-shape--one {
    width: 290px;
    height: 290px;

    top: 15%;
    left: -190px;

    background:
        rgba(13, 187, 195, 0.08);
}

.hero-shape--two {
    width: 220px;
    height: 220px;

    right: -150px;
    bottom: 8%;

    background:
        rgba(221, 248, 249, 0.7);
}


/* =========================================
   SCROLL HINT
   ========================================= */

.scroll-hint {
    display: none;
}


/* =========================================
   ANIMATION
   ========================================= */

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================
   TABLET + DESKTOP
   ========================================= */

@media (min-width: 760px) {

    .site-header {
        padding:
            25px
            35px
            0;
    }

    .hero {
        padding:
            120px
            35px
            60px;
    }

    .hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(330px, 0.72fr);

        align-items: center;

        gap: 70px;
    }

    .hero-copy {
        grid-column: 1;
    }

    .product-stage {
        grid-column: 2;
        grid-row: 1;

        max-width: 430px;
    }

    .button--primary {
        width: auto;
        min-width: 220px;
    }

    .phone {
        width: 285px;
    }

    .phone-screen {
        min-height: 500px;
    }

    .float-card--quiz {
        left: -25px;
    }

    .float-card--teacher {
        right: -25px;
    }
}


/* =========================================
   LARGE DESKTOP
   ========================================= */

@media (min-width: 1100px) {

    .nav-login:hover {
        border-color:
            rgba(13, 187, 195, 0.28);

        color: var(--turquoise-dark);
    }

    .button--primary:hover {
        background: var(--turquoise-dark);

        transform: translateY(-2px);

        box-shadow:
            0 20px 45px rgba(13, 187, 195, 0.28);
    }

    .phone {
        width: 305px;
    }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 360px) {

    .hero {
        padding-right: 17px;
        padding-left: 17px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-description {
        font-size: 14px;
    }

    .phone {
        width: 235px;
    }

    .phone-screen {
        min-height: 405px;
    }
}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   OFFICIAL SPEDIA UNI LOGO
   ========================================= */

.brand-logo {
    display: block;
    width: 112px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 420px) {
    .brand-logo {
        width: 105px;
    }
}


/* =========================================
   WHATSAPP SUPPORT
   ========================================= */

.whatsapp-help {
    width: 100%;

    display: grid;
    grid-template-columns: 46px 1fr 26px;
    align-items: center;
    gap: 11px;

    margin-top: 15px;
    padding: 11px 13px;

    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(34, 197, 94, 0.07),
            rgba(255, 255, 255, 0.92)
        );

    color: var(--navy);

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(11, 31, 58, 0.05);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.whatsapp-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: #22c55e;
    color: #ffffff;

    box-shadow:
        0 9px 22px rgba(34, 197, 94, 0.2);
}

.whatsapp-icon svg {
    width: 25px;
    height: 25px;
}

.whatsapp-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    text-align: right;
}

.whatsapp-copy small {
    color: var(--gray);

    font-size: 10px;
    font-weight: 400;
}

.whatsapp-copy strong {
    margin-top: 1px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 700;
}

.whatsapp-copy > span {
    margin-top: 2px;

    color: #16a34a;

    font-size: 10px;
    font-weight: 700;

    text-align: right;
}

.whatsapp-arrow {
    color: #16a34a;

    font-size: 20px;
    font-weight: 700;
}

@media (min-width: 760px) {

    .whatsapp-help {
        max-width: 390px;
    }
}

@media (min-width: 1100px) {

    .whatsapp-help:hover {
        transform: translateY(-2px);

        border-color: rgba(34, 197, 94, 0.28);

        box-shadow:
            0 15px 35px rgba(11, 31, 58, 0.08);
    }
}


/* =========================================
   OFFERS & PACKAGES
   ========================================= */

.offers-section {
    position: relative;

    padding:
        64px 0 70px;

    background:
        linear-gradient(
            180deg,
            #f8fcfd 0%,
            #ffffff 100%
        );

    overflow: hidden;
}

.section-container {
    width: 100%;
    max-width: var(--page-width);

    margin: 0 auto;
}

.section-heading {
    padding: 0 20px;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--turquoise-dark);

    font-size: 12px;
    font-weight: 700;
}

.section-heading h2 {
    max-width: 580px;

    margin: 0;

    color: var(--navy);

    font-size: clamp(29px, 8vw, 47px);
    line-height: 1.15;

    letter-spacing: -1px;
}

.section-heading > p {
    max-width: 430px;

    margin: 11px 0 0;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.7;
}


/* Horizontal mobile experience */

.offers-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 355px);

    gap: 13px;

    margin-top: 26px;
    padding:
        5px 20px
        22px;

    overflow-x: auto;
    overscroll-behavior-inline: contain;

    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 20px;

    scrollbar-width: none;
}

.offers-scroller::-webkit-scrollbar {
    display: none;
}


/* Card */

.offer-card {
    position: relative;

    min-height: 370px;

    display: flex;
    flex-direction: column;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: var(--white);

    box-shadow:
        0 18px 50px rgba(11, 31, 58, 0.07);

    scroll-snap-align: start;

    overflow: hidden;

    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}

.offer-card::before {
    content: "";

    position: absolute;

    width: 145px;
    height: 145px;

    top: -75px;
    left: -65px;

    border-radius: 50%;

    background:
        rgba(13, 187, 195, 0.07);

    pointer-events: none;
}

.offer-card--featured {
    border-color:
        rgba(13, 187, 195, 0.32);

    background:
        linear-gradient(
            145deg,
            rgba(221, 248, 249, 0.55) 0%,
            #ffffff 47%
        );

    box-shadow:
        0 22px 60px rgba(13, 187, 195, 0.11);
}


/* Top labels */

.offer-top {
    position: relative;
    z-index: 2;

    min-height: 31px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.offer-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.offer-badge,
.offer-university,
.discount-pill {
    display: inline-flex;
    align-items: center;

    min-height: 27px;

    padding: 0 9px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;
}

.offer-badge {
    background: var(--turquoise);
    color: var(--white);
}

.offer-university {
    background: var(--gray-light);
    color: var(--gray);
}

.discount-pill {
    flex-shrink: 0;

    background:
        rgba(245, 158, 11, 0.1);

    color: #d97706;
}


/* Content */

.offer-body {
    position: relative;
    z-index: 2;

    flex: 1;

    padding-top: 27px;
}

.offer-body h3 {
    margin: 0;

    color: var(--navy);

    font-size: 26px;
    line-height: 1.25;

    letter-spacing: -0.5px;
}

.offer-body > p {
    max-width: 285px;

    margin: 9px 0 0;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.7;
}

.offer-note {
    width: fit-content;

    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 17px;
    padding: 8px 10px;

    border-radius: 11px;

    background:
        rgba(13, 187, 195, 0.07);

    color: var(--turquoise-dark);

    font-size: 11px;
    font-weight: 700;
}

.offer-note span {
    color: var(--turquoise);
}


/* Price */

.offer-price {
    margin-top: 22px;
}

.old-price {
    display: block;

    margin-bottom: 1px;

    color: #9ca3af;

    font-size: 12px;

    text-decoration: line-through;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 5px;

    color: var(--navy);
}

.current-price strong {
    font-size: 38px;
    line-height: 1;
    letter-spacing: -1px;
}

.current-price span {
    color: var(--gray);

    font-size: 13px;
    font-weight: 700;
}


/* CTA */

.offer-cta {
    position: relative;
    z-index: 2;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 20px;
    padding: 0 17px;

    border-radius: 15px;

    background: var(--navy);
    color: var(--white);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform 180ms ease,
        background 180ms ease;
}

.offer-card--featured .offer-cta {
    background: var(--turquoise);
}

.offer-cta > span {
    font-size: 18px;
}


/* Swipe hint */

.offers-swipe-hint {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 0 20px;

    color: #9ca3af;

    font-size: 10px;
    font-weight: 400;
}

.swipe-arrow {
    color: var(--turquoise);

    font-size: 16px;

    animation:
        swipeHint 1.6s ease-in-out infinite;
}

@keyframes swipeHint {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}


/* Desktop */

@media (min-width: 760px) {

    .offers-section {
        padding:
            90px 35px
            100px;
    }

    .section-heading {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 40px;

        padding: 0;
    }

    .section-heading > p {
        margin: 0 0 5px;
    }

    .offers-scroller {
        grid-auto-flow: initial;
        grid-auto-columns: initial;
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 17px;

        margin-top: 38px;
        padding: 0 0 20px;

        overflow: visible;
    }

    .offers-swipe-hint {
        display: none;
    }
}


@media (min-width: 1100px) {

    .offer-card:hover {
        transform: translateY(-5px);

        box-shadow:
            0 25px 65px rgba(11, 31, 58, 0.1);
    }

    .offer-cta:hover {
        background: var(--turquoise-dark);
    }
}


/* =========================================
   MOBILE READABILITY PASS
   ========================================= */

@media (max-width: 759px) {

    .nav-login {
        min-height: 48px;
        padding: 0 17px;

        font-size: 15px;
    }

    .hero {
        padding-top: 110px;
    }

    .eyebrow {
        font-size: 14px;
    }

    .hero h1 {
        font-size: clamp(40px, 11.5vw, 50px);
        line-height: 1.12;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.8;
    }

    .button {
        min-height: 59px;
        font-size: 17px;
    }

    .proof-item {
        font-size: 13px;
    }

    .whatsapp-copy small {
        font-size: 12px;
    }

    .whatsapp-copy strong {
        font-size: 16px;
    }

    .whatsapp-copy > span {
        font-size: 12px;
    }

    .section-kicker {
        font-size: 14px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading > p {
        font-size: 16px;
    }

    .offer-card {
        min-height: 410px;
        padding: 22px;
    }

    .offer-badge,
    .offer-university,
    .discount-pill {
        min-height: 31px;
        padding: 0 11px;

        font-size: 11px;
    }

    .offer-body h3 {
        font-size: 30px;
    }

    .offer-body > p {
        font-size: 15px;
        line-height: 1.75;
    }

    .offer-note {
        padding: 10px 12px;

        font-size: 13px;
    }

    .old-price {
        font-size: 14px;
    }

    .current-price strong {
        font-size: 43px;
    }

    .current-price span {
        font-size: 15px;
    }

    .offer-cta {
        min-height: 57px;

        font-size: 16px;
    }

    .offers-swipe-hint {
        font-size: 12px;
    }
}


/* =========================================
   OFFER DETAIL PAGE
   ========================================= */

.offer-detail-page {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbfc 55%,
            #ffffff 100%
        );
}

.detail-header {
    width: 100%;
    max-width: 900px;

    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0 auto;
    padding:
        max(17px, env(safe-area-inset-top))
        20px
        10px;
}

.detail-back {
    min-height: 44px;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 0 13px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: var(--white);

    color: var(--navy);

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}

.detail-logo {
    width: 105px;
    height: auto;
}

.detail-main {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    padding-bottom: 115px;
}


/* Detail Hero */

.detail-hero {
    position: relative;

    margin: 18px 15px 0;
    padding: 28px 22px;

    border: 1px solid rgba(13, 187, 195, 0.16);
    border-radius: 29px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(13, 187, 195, 0.14),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #effcfc 0%,
            #ffffff 58%
        );

    box-shadow:
        0 20px 60px rgba(11, 31, 58, 0.07);

    overflow: hidden;
}

.detail-hero::after {
    content: "S";

    position: absolute;

    left: -13px;
    bottom: -65px;

    color: rgba(13, 187, 195, 0.06);

    font-size: 210px;
    font-weight: 900;
    line-height: 1;

    transform: rotate(-10deg);

    pointer-events: none;
}

.detail-tags {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.detail-badge,
.detail-university {
    min-height: 31px;

    display: inline-flex;
    align-items: center;

    padding: 0 11px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;
}

.detail-badge {
    background: var(--turquoise);
    color: var(--white);
}

.detail-university {
    background: var(--white);
    color: var(--navy);

    border: 1px solid var(--border);
}

.detail-hero h1 {
    position: relative;
    z-index: 2;

    max-width: 650px;

    margin: 23px 0 0;

    color: var(--navy);

    font-size: clamp(38px, 11vw, 64px);
    line-height: 1.08;

    letter-spacing: -1px;
}

.detail-subtitle {
    position: relative;
    z-index: 2;

    max-width: 580px;

    margin: 13px 0 0;

    color: var(--gray);

    font-size: 17px;
    line-height: 1.8;
}

.detail-highlight {
    position: relative;
    z-index: 2;

    width: fit-content;

    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 21px;
    padding: 11px 13px;

    border-radius: 13px;

    background: rgba(13, 187, 195, 0.09);

    color: var(--turquoise-dark);

    font-size: 14px;
    font-weight: 700;
}

.detail-highlight-icon {
    color: var(--turquoise);
}

.detail-price-row {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;

    margin-top: 27px;
}

.detail-old-price {
    display: block;

    color: #9ca3af;

    font-size: 14px;

    text-decoration: line-through;
}

.detail-price > div {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.detail-price strong {
    color: var(--navy);

    font-size: 46px;
    line-height: 1;
}

.detail-price div span {
    color: var(--gray);

    font-size: 15px;
    font-weight: 700;
}

.detail-saving {
    padding: 9px 11px;

    border-radius: 11px;

    background: rgba(245, 158, 11, 0.1);

    color: #d97706;

    font-size: 12px;
    font-weight: 700;
}


/* Generic detail sections */

.detail-section {
    padding: 55px 20px 0;
}

.detail-kicker {
    color: var(--turquoise-dark);

    font-size: 14px;
    font-weight: 700;
}

.detail-section h2,
.detail-final h2 {
    margin: 6px 0 0;

    color: var(--navy);

    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.2;

    letter-spacing: -0.7px;
}

.detail-intro p {
    max-width: 680px;

    margin: 15px 0 0;

    color: var(--gray);

    font-size: 17px;
    line-height: 1.9;
}


/* Subjects */

.detail-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.subjects-count {
    flex-shrink: 0;

    padding: 7px 10px;

    border-radius: 10px;

    background: var(--cyan-light);

    color: var(--turquoise-dark);

    font-size: 12px;
    font-weight: 700;
}

.subjects-list {
    display: grid;
    gap: 10px;

    margin-top: 22px;
}

.subject-card {
    display: grid;
    grid-template-columns: 45px 1fr 28px;
    align-items: center;
    gap: 12px;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--white);

    box-shadow:
        0 10px 30px rgba(11, 31, 58, 0.045);
}

.subject-number {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--turquoise);
    color: var(--white);

    font-size: 13px;
    font-weight: 700;
}

.subject-copy {
    min-width: 0;
}

.subject-copy small {
    color: var(--turquoise-dark);

    font-size: 11px;
    font-weight: 700;
}

.subject-copy h3 {
    margin: 2px 0 0;

    color: var(--navy);

    font-size: 19px;
    line-height: 1.25;
}

.subject-copy p {
    margin: 4px 0 0;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.55;
}

.subject-check {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(34, 197, 94, 0.1);
    color: var(--success);

    font-size: 12px;
    font-weight: 700;
}


/* Benefits */

.benefits-list {
    display: grid;
    gap: 9px;

    margin-top: 22px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px;

    border-radius: 15px;

    background: var(--white);

    border: 1px solid var(--border);
}

.benefit-item > span {
    width: 29px;
    height: 29px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(13, 187, 195, 0.09);
    color: var(--turquoise);

    font-size: 12px;
    font-weight: 700;
}

.benefit-item strong {
    color: var(--navy);

    font-size: 15px;
    line-height: 1.5;
}


/* Final conversion */

.detail-final {
    position: relative;

    margin: 60px 15px 0;
    padding: 34px 22px;

    border-radius: 28px;

    background: var(--navy);
    color: var(--white);

    overflow: hidden;
}

.detail-final-mark {
    position: absolute;

    left: -13px;
    bottom: -56px;

    color: rgba(255, 255, 255, 0.04);

    font-size: 190px;
    font-weight: 900;
}

.detail-final .detail-kicker {
    position: relative;
    z-index: 2;

    color: #6ee7eb;
}

.detail-final h2 {
    position: relative;
    z-index: 2;

    color: var(--white);
}

.detail-final p {
    position: relative;
    z-index: 2;

    max-width: 540px;

    margin: 13px 0 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 16px;
    line-height: 1.8;
}

.detail-buy-button {
    position: relative;
    z-index: 2;

    min-height: 59px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 23px;
    padding: 0 18px;

    border-radius: 16px;

    background: var(--turquoise);
    color: var(--white);

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;
}

.detail-whatsapp {
    position: relative;
    z-index: 2;

    display: block;

    margin-top: 17px;

    color: rgba(255, 255, 255, 0.75);

    text-align: center;
    text-decoration: none;

    font-size: 13px;
}


/* Sticky mobile purchase bar */

.mobile-buy-bar {
    position: fixed;
    z-index: 50;

    right: 10px;
    bottom:
        max(
            10px,
            env(safe-area-inset-bottom)
        );
    left: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;

    padding: 9px 9px 9px 14px;

    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 19px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 15px 50px rgba(11, 31, 58, 0.16);

    backdrop-filter: blur(18px);
}

.mobile-buy-bar > div {
    display: flex;
    flex-direction: column;
}

.mobile-buy-bar small {
    color: var(--gray);

    font-size: 10px;
}

.mobile-buy-bar strong {
    color: var(--navy);

    font-size: 16px;
}

.mobile-buy-bar > a {
    min-height: 51px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 14px;

    background: var(--turquoise);
    color: var(--white);

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;
}


@media (min-width: 760px) {

    .detail-header {
        padding-right: 35px;
        padding-left: 35px;
    }

    .detail-hero {
        margin-right: 35px;
        margin-left: 35px;

        padding: 45px;
    }

    .detail-section {
        padding-right: 55px;
        padding-left: 55px;
    }

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

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

    .detail-final {
        margin-right: 35px;
        margin-left: 35px;

        padding: 45px;
    }

    .detail-buy-button {
        width: fit-content;
        min-width: 230px;
        gap: 40px;
    }

    .detail-whatsapp {
        width: fit-content;
    }

    .mobile-buy-bar {
        display: none;
    }
}


/* =========================================
   HOMEPAGE CONTENT
   ========================================= */

.home-container {
    width: 100%;
    max-width: var(--page-width);

    margin: 0 auto;
    padding: 0 20px;
}

.compact-heading {
    max-width: 590px;
}

.compact-heading h2,
.teacher-content h2,
.live-copy h2,
.social-heading h2,
.home-final h2 {
    margin: 6px 0 0;

    color: var(--navy);

    font-size: clamp(32px, 8.8vw, 52px);
    line-height: 1.12;

    letter-spacing: -1px;
}

.compact-heading h2 span,
.teacher-content h2 span,
.live-copy h2 span,
.home-final h2 span {
    color: var(--turquoise);
}

.compact-heading > p,
.social-heading > p {
    margin: 13px 0 0;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   STUDY EXPERIENCE
   ========================================= */

.experience-section {
    padding: 68px 0;

    background: var(--white);
}

.study-demo {
    margin-top: 27px;
    padding: 19px;

    border: 1px solid var(--border);
    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #f4fcfc,
            #ffffff
        );

    box-shadow:
        0 16px 45px rgba(11, 31, 58, 0.06);
}

.study-demo__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.study-demo__top > div {
    display: flex;
    flex-direction: column;
}

.study-demo__top small {
    color: var(--turquoise-dark);

    font-size: 10px;
    font-weight: 700;
}

.study-demo__top strong {
    margin-top: 3px;

    color: var(--navy);

    font-size: 18px;
}

.study-progress {
    color: var(--turquoise);

    font-size: 20px;
    font-weight: 700;
}

.study-track {
    height: 7px;

    margin-top: 15px;

    border-radius: 20px;

    background: #e7eef0;

    overflow: hidden;
}

.study-track span {
    display: block;

    width: 38%;
    height: 100%;

    border-radius: inherit;

    background: var(--turquoise);

    transform-origin: right;
}

.study-journey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;

    margin-top: 16px;
}

.journey-item {
    min-width: 0;

    padding: 12px 8px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--white);

    text-align: center;
}

.journey-item--active {
    border-color:
        rgba(13, 187, 195, 0.25);

    background: var(--cyan-light);
}

.journey-icon {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    margin: 0 auto 7px;

    border-radius: 10px;

    background: var(--gray-light);
    color: var(--navy);

    font-size: 11px;
}

.journey-item--active .journey-icon {
    background: var(--turquoise);
    color: var(--white);
}

.journey-item div {
    display: flex;
    flex-direction: column;
}

.journey-item small {
    color: #9ca3af;

    font-size: 8px;
}

.journey-item strong {
    margin-top: 2px;

    color: var(--navy);

    font-size: 11px;
    line-height: 1.35;
}


/* Feature cards */

.feature-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 11px;
}

.feature-card {
    min-height: 180px;

    padding: 17px;

    border: 1px solid var(--border);
    border-radius: 19px;

    background: var(--white);
}

.feature-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--cyan-light);
    color: var(--turquoise-dark);

    font-size: 14px;
    font-weight: 700;
}

.feature-card h3 {
    margin: 14px 0 0;

    color: var(--navy);

    font-size: 17px;
    line-height: 1.35;
}

.feature-card p {
    margin: 6px 0 0;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================
   TEACHER SUPPORT
   ========================================= */

.teacher-section {
    padding: 15px 0 65px;

    background: var(--white);
}

.teacher-card {
    padding: 25px 20px;

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            #effbfc,
            #ffffff
        );

    border: 1px solid
        rgba(13, 187, 195, 0.13);
}

.teacher-content p,
.live-copy p {
    margin: 13px 0 0;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.8;
}


/* Chat */

.chat-demo {
    max-width: 420px;

    margin: 27px auto 0;
    padding: 15px;

    border-radius: 21px;

    background: var(--white);

    box-shadow:
        0 18px 50px rgba(11, 31, 58, 0.09);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--border);
}

.chat-avatar {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--turquoise);
    color: var(--white);

    font-weight: 700;
}

.chat-header > div {
    display: flex;
    flex-direction: column;
}

.chat-header strong {
    color: var(--navy);

    font-size: 14px;
}

.chat-header small {
    display: flex;
    align-items: center;
    gap: 5px;

    margin-top: 2px;

    color: var(--gray);

    font-size: 10px;
}

.chat-header i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--success);
}

.chat-message {
    width: fit-content;
    max-width: 83%;

    margin-top: 11px;
    padding: 10px 12px;

    border-radius: 14px;

    font-size: 13px;
    line-height: 1.55;
}

.chat-message--student {
    margin-right: auto;

    background: var(--gray-light);
    color: var(--navy);

    border-bottom-left-radius: 4px;
}

.chat-message--teacher {
    margin-left: auto;

    background: var(--turquoise);
    color: var(--white);

    border-bottom-right-radius: 4px;
}

.typing {
    width: 47px;

    display: flex;
    justify-content: center;
    gap: 3px;

    margin-top: 8px;
    margin-left: auto;
    padding: 8px;

    border-radius: 12px;

    background: var(--gray-light);
}

.typing span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #9ca3af;

    animation:
        typingDot 1.2s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}


/* =========================================
   PRIVATE LIVE
   ========================================= */

.live-section {
    padding: 0 0 70px;

    background: var(--white);
}

.live-card {
    position: relative;

    padding: 27px 20px;

    border-radius: 27px;

    background: var(--navy);
    color: var(--white);

    overflow: hidden;
}

.live-card::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    top: -130px;
    left: -110px;

    border-radius: 50%;

    background:
        rgba(13, 187, 195, 0.15);
}

.live-label {
    position: relative;
    z-index: 2;

    width: fit-content;

    display: flex;
    align-items: center;
    gap: 7px;

    color: #7de7eb;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.live-label > span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ef4444;

    box-shadow:
        0 0 0 5px
        rgba(239, 68, 68, 0.12);

    animation:
        livePulse 1.7s infinite;
}

@keyframes livePulse {
    50% {
        box-shadow:
            0 0 0 9px
            rgba(239, 68, 68, 0);
    }
}

.live-copy {
    position: relative;
    z-index: 2;
}

.live-copy h2 {
    color: var(--white);
}

.live-copy p {
    color: rgba(255,255,255,.68);
}

.live-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 18px;
}

.live-benefits span {
    padding: 7px 9px;

    border: 1px solid
        rgba(255,255,255,.09);
    border-radius: 9px;

    background:
        rgba(255,255,255,.05);

    color: rgba(255,255,255,.85);

    font-size: 11px;
}


/* Live visual */

.live-visual {
    position: relative;
    z-index: 2;

    max-width: 400px;

    margin: 27px auto 0;
}

.live-window {
    position: relative;

    min-height: 230px;

    padding: 13px;

    border: 1px solid
        rgba(255,255,255,.11);
    border-radius: 20px;

    background:
        rgba(255,255,255,.07);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,.16);
}

.live-window-top {
    display: flex;
    align-items: center;
    gap: 6px;

    color: rgba(255,255,255,.55);

    font-size: 9px;
    font-weight: 700;
}

.live-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ef4444;
}

.screen-share {
    height: 160px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-top: 10px;

    border-radius: 14px;

    background: var(--white);

    color: var(--navy);
}

.screen-share > span {
    color: var(--turquoise);

    font-size: 37px;
}

.screen-share strong {
    margin-top: 3px;

    font-size: 17px;
}

.screen-share small {
    margin-top: 3px;

    color: var(--gray);

    font-size: 9px;
}

.teacher-video {
    position: absolute;

    right: 23px;
    bottom: 23px;

    width: 65px;
    height: 53px;

    display: flex;
    align-items: flex-end;

    padding: 6px;

    border: 2px solid var(--navy);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            var(--turquoise),
            #087e84
        );

    color: var(--white);

    font-size: 7px;
}

.recording-chip {
    width: fit-content;

    margin:
        -9px auto 0;
    padding: 9px 12px;

    border-radius: 999px;

    background: var(--white);
    color: var(--navy);

    box-shadow:
        0 10px 30px rgba(0,0,0,.15);

    font-size: 10px;
    font-weight: 700;
}

.recording-chip span {
    margin-left: 4px;

    color: #ef4444;
}


/* =========================================
   SOCIAL PROOF
   ========================================= */

.social-section {
    padding: 67px 0;

    background:
        linear-gradient(
            180deg,
            #f8fcfd,
            #ffffff
        );

    text-align: center;
}

.social-heading {
    max-width: 580px;

    margin: 0 auto;
}

.student-stack {
    display: flex;
    justify-content: center;

    margin-top: 27px;

    direction: ltr;
}

.student-avatar {
    position: relative;

    width: 68px;
    height: 68px;

    margin-left: -13px;

    display: grid;
    place-items: center;

    border: 4px solid var(--white);
    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--cyan-light),
            #d9e4e8
        );

    box-shadow:
        0 10px 30px rgba(11,31,58,.09);

    overflow: hidden;
}

.student-avatar span {
    color: var(--gray);

    font-size: 7px;
}

.student-avatar--1 {
    transform: rotate(-5deg);
}

.student-avatar--2 {
    transform: translateY(-7px);
}

.student-avatar--3 {
    transform: translateY(2px);
}

.student-avatar--4 {
    transform: rotate(5deg) translateY(-4px);
}

.testimonial-placeholder {
    max-width: 550px;

    margin: 26px auto 0;
    padding: 22px;

    border: 1px dashed
        rgba(13,187,195,.25);
    border-radius: 21px;

    background: var(--white);
}

.quote-mark {
    color: var(--turquoise);

    font-size: 42px;
    line-height: .7;
}

.testimonial-placeholder p {
    margin: 11px 0 0;

    color: var(--navy);

    font-size: 18px;
    line-height: 1.7;
    font-weight: 700;
}

.testimonial-placeholder small {
    display: block;

    margin-top: 9px;

    color: var(--gray);

    font-size: 11px;
}


/* =========================================
   FINAL CTA
   ========================================= */

.home-final {
    padding: 10px 0 70px;

    background: var(--white);
}

.home-final-card {
    position: relative;

    padding: 35px 22px;

    border-radius: 29px;

    background:
        linear-gradient(
            145deg,
            #effcfc,
            #ffffff
        );

    border: 1px solid
        rgba(13,187,195,.15);

    text-align: center;

    overflow: hidden;
}

.final-glow {
    position: absolute;

    width: 220px;
    height: 220px;

    top: -160px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        rgba(13,187,195,.15);

    filter: blur(20px);
}

.final-small {
    position: relative;

    color: var(--turquoise-dark);

    font-size: 13px;
    font-weight: 700;
}

.home-final h2 {
    position: relative;

    font-size: clamp(39px, 11vw, 62px);
}

.home-final p {
    position: relative;

    max-width: 470px;

    margin: 13px auto 0;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.8;
}

.home-final-button {
    position: relative;

    min-height: 59px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 23px;
    padding: 0 18px;

    border-radius: 16px;

    background: var(--turquoise);
    color: var(--white);

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    box-shadow:
        0 15px 35px
        rgba(13,187,195,.2);
}

.final-whatsapp {
    position: relative;

    display: block;

    margin-top: 16px;

    color: var(--gray);

    text-decoration: none;

    font-size: 13px;
}

.final-whatsapp strong {
    color: #16a34a;
}


/* =========================================
   SCROLL REVEAL
   ========================================= */

.js .reveal {
    opacity: 0;

    transform:
        translateY(24px)
        scale(.985);

    transition:
        opacity 650ms
        cubic-bezier(.2,.8,.2,1),

        transform 650ms
        cubic-bezier(.2,.8,.2,1);
}

.js .reveal.is-visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

.feature-grid .reveal:nth-child(2) {
    transition-delay: 70ms;
}

.feature-grid .reveal:nth-child(3) {
    transition-delay: 120ms;
}

.feature-grid .reveal:nth-child(4) {
    transition-delay: 170ms;
}


/* =========================================
   DESKTOP
   ========================================= */

@media (min-width: 760px) {

    .home-container {
        padding: 0 35px;
    }

    .experience-section,
    .social-section {
        padding-top: 95px;
        padding-bottom: 95px;
    }

    .study-demo {
        padding: 27px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 14px;
    }

    .teacher-card,
    .live-card {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, .8fr);

        align-items: center;
        gap: 60px;

        padding: 45px;
    }

    .chat-demo,
    .live-visual {
        margin-top: 0;
    }

    .home-final-card {
        padding: 65px 40px;
    }

    .home-final-button {
        width: 260px;

        margin-right: auto;
        margin-left: auto;
    }
}


/* =========================================
   SPEDIA NUMBERS
   ========================================= */

.stats-section {
    padding: 15px 0 70px;

    background: var(--white);
}

.stats-heading {
    text-align: center;
}

.stats-heading h2 {
    max-width: 550px;

    margin: 6px auto 0;

    color: var(--navy);

    font-size: clamp(30px, 8vw, 45px);
    line-height: 1.2;
}

.stats-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;

    margin-top: 25px;
}

.stat-card {
    min-width: 0;

    padding: 20px 7px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5fcfc
        );

    text-align: center;
}

.stat-card strong {
    color: var(--navy);

    font-size: clamp(25px, 8vw, 42px);
    line-height: 1;

    letter-spacing: -1px;
}

.stat-card > span {
    color: var(--turquoise);

    font-size: 20px;
    font-weight: 700;
}

.stat-card small {
    display: block;

    margin-top: 7px;

    color: var(--gray);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   DOWNLOAD APP
   ========================================= */

.download-section {
    padding: 0 0 70px;

    background: var(--white);
}

.download-card {
    position: relative;

    padding: 28px 20px 0;

    border: 1px solid
        rgba(13, 187, 195, .16);

    border-radius: 29px;

    background:
        linear-gradient(
            145deg,
            #effcfc 0%,
            #ffffff 65%
        );

    overflow: hidden;
}

.download-copy {
    position: relative;
    z-index: 3;
}

.download-copy h2 {
    margin: 6px 0 0;

    color: var(--navy);

    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.13;

    letter-spacing: -1px;
}

.download-copy h2 span {
    display: block;

    color: var(--turquoise);
}

.download-copy > p {
    margin: 13px 0 0;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.8;
}


/* Device feature */

.device-feature {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 19px;
    padding: 13px;

    border: 1px solid
        rgba(13, 187, 195, .12);

    border-radius: 16px;

    background:
        rgba(255,255,255,.75);
}

.device-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--cyan-light);
    color: var(--turquoise-dark);

    font-size: 21px;
}

.device-feature > div {
    display: flex;
    flex-direction: column;
}

.device-feature strong {
    color: var(--navy);

    font-size: 14px;
}

.device-feature small {
    margin-top: 3px;

    color: var(--gray);

    font-size: 12px;
    line-height: 1.55;
}


/* Store buttons */

.store-buttons {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-top: 17px;
}

.store-button {
    min-width: 0;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 7px 9px;

    border-radius: 14px;

    background: var(--navy);
    color: var(--white);

    text-decoration: none;
}

.store-button > span:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;

    text-align: left;
    direction: ltr;
}

.store-button small {
    color:
        rgba(255,255,255,.65);

    font-size: 7px;
}

.store-button strong {
    margin-top: 1px;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 13px;
    white-space: nowrap;
}

.store-symbol {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 25px;
}

.play-symbol {
    color: var(--turquoise);

    font-size: 20px;
}


/* Phone composition */

.download-visual {
    position: relative;

    height: 310px;

    margin-top: 30px;
}

.download-phone {
    position: absolute;

    width: 185px;
    height: 315px;

    padding: 9px;

    border-radius: 29px;

    background: var(--navy);

    box-shadow:
        0 25px 60px
        rgba(11,31,58,.16);
}

.download-phone > div {
    height: 100%;

    padding: 30px 13px 15px;

    border-radius: 22px;

    background: var(--white);
}

.download-phone--front {
    z-index: 2;

    right: 50%;

    transform:
        translateX(36%)
        rotate(-4deg);
}

.download-phone--back {
    z-index: 1;

    left: 50%;

    opacity: .68;

    transform:
        translateX(-23%)
        translateY(27px)
        rotate(7deg);
}

.download-phone--back > div {
    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--cyan-light),
            #ffffff
        );
}

.download-phone--back span,
.download-phone--front > span {
    color: var(--turquoise-dark);

    font-size: 8px;
    font-weight: 700;
}

.download-phone--back strong {
    margin-top: 4px;

    color: var(--navy);

    font-size: 19px;
}

.download-phone--back small {
    margin-top: 4px;

    color: var(--gray);

    font-size: 9px;
}

.download-mini-logo {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    margin-bottom: 23px;

    border-radius: 9px;

    background: var(--turquoise);
    color: var(--white);

    font-weight: 700;
}

.download-phone--front > strong {
    display: block;

    margin: 4px 0 17px;

    color: var(--navy);

    font-size: 20px;
}

.download-course {
    margin-top: 8px;
    padding: 11px;

    border-radius: 12px;

    background: var(--gray-light);

    color: var(--navy);

    font-size: 11px;
    font-weight: 700;
}

.download-course small {
    display: block;

    margin-top: 4px;

    color: var(--gray);

    font-size: 8px;
    font-weight: 400;
}


/* =========================================
   STRONGER LIVE ANIMATION
   ========================================= */

.live-visual {
    animation:
        liveVisualFloat
        5s ease-in-out infinite;
}

@keyframes liveVisualFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(.3deg);
    }

    50% {
        transform:
            translateY(-9px)
            rotate(-.4deg);
    }
}

.screen-share > span {
    animation:
        mathPulse
        3s ease-in-out infinite;
}

@keyframes mathPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
        color: var(--turquoise-dark);
    }
}

.teacher-video {
    animation:
        teacherVideoFloat
        4s ease-in-out infinite;
}

@keyframes teacherVideoFloat {

    0%,
    100% {
        transform:
            translate(0, 0);
    }

    50% {
        transform:
            translate(-4px, -5px);
    }
}

.recording-chip {
    animation:
        recordingFloat
        3.8s ease-in-out infinite;
}

@keyframes recordingFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.recording-chip > span {
    animation:
        recordingPulse
        1.4s ease-in-out infinite;
}

@keyframes recordingPulse {

    50% {
        opacity: .3;
    }
}


/* Desktop */

@media (min-width: 760px) {

    .stats-grid {
        max-width: 800px;

        margin-right: auto;
        margin-left: auto;

        gap: 15px;
    }

    .stat-card {
        padding: 30px 15px;
    }

    .download-card {
        min-height: 520px;

        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(380px, .85fr);

        align-items: center;
        gap: 50px;

        padding: 45px 45px 0;
    }

    .download-visual {
        height: 475px;

        margin-top: 0;
    }

    .download-phone {
        width: 215px;
        height: 390px;

        top: 70px;
    }

    .store-buttons {
        width: fit-content;

        grid-template-columns:
            repeat(2, 170px);
    }
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    padding: 42px 0 30px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 125px;
    height: auto;
}

.footer-social {
    margin-top: 22px;
}

.footer-follow {
    display: block;
    color: var(--gray);
    font-size: 13px;
}

.social-handle {
    display: block;
    margin-top: 2px;
    color: var(--navy);
    font-size: 22px;
    direction: ltr;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 13px;
}

.social-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid rgba(13, 187, 195, .2);
    border-radius: 999px;
    background: var(--cyan-light);
    color: var(--navy);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform .2s ease,
        background .2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: #fff;
}

.footer-copy {
    margin-top: 25px;
    color: var(--gray);
    font-size: 11px;
}


/* =========================================
   INTERACTIVE QUIZ
   ========================================= */

.quiz-section {
    padding: 5px 0 70px;
    background: var(--white);
}

.quiz-card {
    position: relative;
    padding: 27px 20px;
    border: 1px solid rgba(13, 187, 195, .14);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(13, 187, 195, .10),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #f5fcfc,
            #ffffff
        );

    overflow: hidden;
}

.quiz-copy {
    position: relative;
    z-index: 2;
}

.quiz-copy h2 {
    margin: 6px 0 0;
    color: var(--navy);
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.quiz-copy h2 span {
    display: block;
    color: var(--turquoise);
}

.quiz-copy > p {
    margin: 13px 0 0;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

.quiz-copy-points {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
}

.quiz-copy-points span {
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(13, 187, 195, .08);
    color: var(--turquoise-dark);
    font-size: 11px;
    font-weight: 700;
}


/* Quiz UI */

.quiz-demo {
    position: relative;
    max-width: 390px;
    margin: 28px auto 0;
    padding: 18px;

    border: 1px solid rgba(11, 31, 58, .08);
    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 25px 60px rgba(11, 31, 58, .10);

    overflow: hidden;
}

.quiz-demo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quiz-demo-top > div:first-child {
    display: flex;
    flex-direction: column;
}

.quiz-demo-top small {
    color: var(--turquoise-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
}

.quiz-demo-top strong {
    margin-top: 2px;
    color: var(--navy);
    font-size: 16px;
}

.quiz-counter {
    direction: ltr;
    color: var(--gray);
    font-size: 12px;
    font-weight: 700;
}

.quiz-current {
    color: var(--turquoise);
    font-size: 18px;
}

.quiz-progress {
    height: 6px;
    margin-top: 13px;
    border-radius: 20px;
    background: #e9eff1;
    overflow: hidden;
}

.quiz-progress > span {
    display: block;
    width: 30%;
    height: 100%;
    border-radius: inherit;
    background: var(--turquoise);

    animation:
        quizProgress 5.2s ease-in-out infinite;
}

.quiz-question {
    margin-top: 22px;
}

.question-label {
    color: #9ca3af;
    font-size: 9px;
    font-weight: 700;
}

.quiz-question h3 {
    margin: 6px 0 0;
    color: var(--navy);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    font-size: 18px;
    line-height: 1.45;
    direction: ltr;
    text-align: left;
}

.quiz-question h3 span {
    color: var(--turquoise-dark);
}


/* Answers */

.quiz-options {
    display: grid;
    gap: 8px;
    margin-top: 17px;
}

.quiz-option {
    position: relative;
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 7px 11px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: #fff;
    color: var(--navy);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    text-align: left;
    direction: ltr;

    pointer-events: none;
}

.quiz-option > span {
    width: 29px;
    height: 29px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--gray-light);

    color: var(--gray);

    font-size: 10px;
    font-weight: 700;
}

.quiz-option strong {
    font-size: 14px;
}

.quiz-option--answer {
    animation:
        selectCorrectAnswer
        5.2s ease-in-out infinite;
}

.quiz-option--answer > span {
    animation:
        selectCorrectLetter
        5.2s ease-in-out infinite;
}

.quiz-check {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    margin-left: auto;

    border-radius: 50%;

    background: #22c55e;
    color: #fff;

    font-size: 11px;
    font-style: normal;
    font-weight: 700;

    opacity: 0;
    transform: scale(.4);

    animation:
        quizCheck
        5.2s ease-in-out infinite;
}


/* Success message */

.quiz-success {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 12px;
    padding: 11px;

    border-radius: 13px;

    background: rgba(34, 197, 94, .08);

    opacity: 0;
    transform: translateY(8px);

    animation:
        quizSuccess
        5.2s ease-in-out infinite;
}

.success-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #22c55e;
    color: #fff;

    font-size: 14px;
    font-weight: 700;
}

.quiz-success > div:last-child {
    display: flex;
    flex-direction: column;
}

.quiz-success strong {
    color: #15803d;
    font-size: 13px;
}

.quiz-success small {
    margin-top: 2px;
    color: var(--gray);
    font-size: 10px;
}


/* Fake tap */

.quiz-tap {
    position: absolute;
    z-index: 5;

    right: 49px;
    top: 219px;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(13, 187, 195, .28);
    border-radius: 50%;

    opacity: 0;

    animation:
        quizTap
        5.2s ease-in-out infinite;

    pointer-events: none;
}

.quiz-tap span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 8px;
    height: 8px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--turquoise);
}


/* Animation timeline */

@keyframes quizTap {

    0%,
    25% {
        opacity: 0;
        transform: scale(.4);
    }

    31% {
        opacity: 1;
        transform: scale(1);
    }

    38% {
        opacity: 0;
        transform: scale(1.7);
    }

    100% {
        opacity: 0;
    }
}

@keyframes selectCorrectAnswer {

    0%,
    34% {
        border-color: var(--border);
        background: #fff;
        transform: scale(1);
    }

    40%,
    82% {
        border-color: rgba(34, 197, 94, .38);
        background: rgba(34, 197, 94, .07);
        transform: scale(1.015);
    }

    90%,
    100% {
        border-color: var(--border);
        background: #fff;
        transform: scale(1);
    }
}

@keyframes selectCorrectLetter {

    0%,
    34% {
        background: var(--gray-light);
        color: var(--gray);
    }

    40%,
    82% {
        background: #22c55e;
        color: #fff;
    }

    90%,
    100% {
        background: var(--gray-light);
        color: var(--gray);
    }
}

@keyframes quizCheck {

    0%,
    37% {
        opacity: 0;
        transform: scale(.4);
    }

    43%,
    82% {
        opacity: 1;
        transform: scale(1);
    }

    90%,
    100% {
        opacity: 0;
        transform: scale(.4);
    }
}

@keyframes quizSuccess {

    0%,
    42% {
        opacity: 0;
        transform: translateY(8px);
    }

    49%,
    82% {
        opacity: 1;
        transform: translateY(0);
    }

    90%,
    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes quizProgress {

    0%,
    42% {
        width: 30%;
    }

    50%,
    82% {
        width: 40%;
    }

    90%,
    100% {
        width: 30%;
    }
}


/* Desktop */

@media (min-width: 760px) {

    .quiz-card {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, .8fr);

        align-items: center;
        gap: 60px;

        padding: 45px;
    }

    .quiz-demo {
        margin: 0;
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .quiz-option--answer,
    .quiz-option--answer > span,
    .quiz-check,
    .quiz-success,
    .quiz-progress > span,
    .quiz-tap {
        animation: none !important;
    }
}


/* =========================================
   DOWNLOAD DEVICES — IPHONE + IPAD FIX
   ========================================= */

.download-visual {
    position: relative;
    height: 330px;
    margin-top: 30px;
    overflow: visible;
}


/* Shared device shell */

.download-phone {
    position: absolute;
    padding: 7px;

    border: 2px solid rgba(255,255,255,.12);
    background: var(--navy);

    box-shadow:
        0 25px 60px rgba(11,31,58,.18);

    overflow: hidden;
}

.download-phone > div {
    position: relative;
    height: 100%;

    background: #fff;

    overflow: hidden;
}


/* =========================================
   IPAD — BACK DEVICE
   ========================================= */

.download-phone--back {
    z-index: 1;

    width: 235px;
    height: 285px;

    left: 50%;
    top: 35px;

    padding: 7px;

    border-radius: 24px;

    opacity: 1;

    transform:
        translateX(-62%)
        rotate(5deg);

    animation:
        ipadFloat
        5.5s ease-in-out infinite;
}

.download-phone--back > div {
    padding: 30px 20px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #f0fcfc,
            #ffffff
        );
}


/* iPad camera */

.download-phone--back > div::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 50%;

    width: 5px;
    height: 5px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: #9ca3af;
}


/* iPad content */

.download-phone--back span {
    display: block;

    color: var(--turquoise-dark);

    font-size: 8px;
    font-weight: 700;
}

.download-phone--back strong {
    display: block;

    margin-top: 5px;

    color: var(--navy);

    font-size: 19px;
    line-height: 1.25;
}

.download-phone--back small {
    display: block;

    margin-top: 5px;

    color: var(--gray);

    font-size: 9px;
}


/* Fake iPad chapter cards */

.download-phone--back > div::after {
    content:
        "Chapter 03   •   Topics 6";

    position: absolute;

    right: 18px;
    bottom: 25px;
    left: 18px;

    padding: 13px;

    border: 1px solid
        rgba(13,187,195,.18);

    border-radius: 12px;

    background: #fff;

    color: var(--navy);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    direction: ltr;
}


/* =========================================
   IPHONE — FRONT DEVICE
   ========================================= */

.download-phone--front {
    z-index: 3;

    width: 150px;
    height: 300px;

    right: 50%;
    top: 7px;

    padding: 6px;

    border-radius: 28px;

    transform:
        translateX(79%)
        rotate(-5deg);

    animation:
        iphoneFloat
        4.8s ease-in-out infinite;
}

.download-phone--front > div {
    padding:
        37px 12px
        15px;

    border-radius: 21px;
}


/* iPhone Dynamic Island */

.download-phone--front > div::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 50%;

    width: 48px;
    height: 14px;

    transform: translateX(-50%);

    border-radius: 999px;

    background: var(--navy);
}


/* Logo */

.download-mini-logo {
    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    margin-bottom: 15px;

    border-radius: 9px;

    background: var(--turquoise);
    color: #fff;

    font-size: 13px;
    font-weight: 700;
}


/* Prevent mobile text clipping */

.download-phone--front > span {
    display: block;

    color: var(--turquoise-dark);

    font-size: 7px;
    font-weight: 700;

    white-space: nowrap;
}

.download-phone--front > strong {
    display: block;

    margin: 4px 0 13px;

    color: var(--navy);

    font-size: 16px;
    line-height: 1.3;

    white-space: normal;
}


/* Course cards */

.download-course {
    width: 100%;

    margin-top: 7px;
    padding: 9px;

    border-radius: 10px;

    background: var(--gray-light);

    color: var(--navy);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    direction: ltr;

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;
}

.download-course small {
    display: block;

    margin-top: 3px;

    color: var(--gray);

    font-size: 7px;
    font-weight: 400;

    white-space: nowrap;
}


/* =========================================
   DEVICE LABELS
   ========================================= */

.download-phone--back::after {
    content: "iPad";

    position: absolute;

    left: 17px;
    bottom: 11px;

    padding: 5px 8px;

    border-radius: 999px;

    background: var(--navy);
    color: #fff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 8px;
    font-weight: 700;
}

.download-phone--front::after {
    content: "iPhone";

    position: absolute;

    right: 11px;
    bottom: 9px;

    padding: 5px 7px;

    border-radius: 999px;

    background: var(--turquoise);
    color: #fff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 7px;
    font-weight: 700;
}


/* =========================================
   DEVICE ANIMATION
   ========================================= */

@keyframes ipadFloat {

    0%,
    100% {
        transform:
            translateX(-62%)
            translateY(0)
            rotate(5deg);
    }

    50% {
        transform:
            translateX(-65%)
            translateY(-7px)
            rotate(3.5deg);
    }
}

@keyframes iphoneFloat {

    0%,
    100% {
        transform:
            translateX(79%)
            translateY(0)
            rotate(-5deg);
    }

    50% {
        transform:
            translateX(83%)
            translateY(-10px)
            rotate(-3deg);
    }
}


/* =========================================
   MOBILE — KEEP BOTH FULLY VISIBLE
   ========================================= */

@media (max-width: 480px) {

    .download-card {
        padding-right: 18px;
        padding-left: 18px;
    }

    .download-visual {
        height: 340px;

        margin-right: -5px;
        margin-left: -5px;
    }

    .download-phone--back {
        width: 220px;
        height: 270px;

        top: 48px;
    }

    .download-phone--front {
        width: 145px;
        height: 292px;

        top: 5px;
    }

}


/* =========================================
   DESKTOP DEVICE COMPOSITION
   ========================================= */

@media (min-width: 760px) {

    .download-visual {
        height: 475px;
    }

    .download-phone--back {
        width: 330px;
        height: 390px;

        top: 80px;

        border-radius: 31px;

        transform:
            translateX(-62%)
            rotate(5deg);
    }

    .download-phone--back > div {
        border-radius: 23px;
        padding: 45px 30px;
    }

    .download-phone--back strong {
        font-size: 25px;
    }

    .download-phone--front {
        width: 190px;
        height: 390px;

        top: 25px;

        border-radius: 34px;
    }

    .download-phone--front > div {
        border-radius: 27px;
        padding:
            48px 16px
            18px;
    }

}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .download-phone--back,
    .download-phone--front {
        animation: none !important;
    }

}


/* =========================================
   DEVICE COMPOSITION V2
   iPad Landscape + clear iPhone
   ========================================= */

.download-visual {
    position: relative;
    height: 330px;
    margin-top: 30px;
    overflow: visible;
}


/* IPAD LANDSCAPE */

.download-phone--back {
    z-index: 1;

    width: 300px;
    height: 205px;

    left: 50%;
    top: 78px;

    padding: 7px;

    border-radius: 22px;

    background: var(--navy);

    opacity: 1;

    transform:
        translateX(-55%)
        rotate(3deg);

    animation:
        ipadLandscapeFloat
        5.5s ease-in-out infinite;
}

.download-phone--back > div {
    position: relative;

    height: 100%;

    padding: 25px 22px;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #f1fcfc,
            #ffffff
        );

    overflow: hidden;
}

/* iPad camera */

.download-phone--back > div::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 7px;

    width: 5px;
    height: 5px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #9ca3af;
}

.download-phone--back span {
    display: block;

    color: var(--turquoise-dark);

    font-size: 8px;
    font-weight: 700;
}

.download-phone--back strong {
    display: block;

    margin-top: 4px;

    color: var(--navy);

    font-size: 18px;
}

.download-phone--back small {
    display: block;

    margin-top: 4px;

    color: var(--gray);

    font-size: 8px;
}

.download-phone--back > div::after {
    content: "Chapter 03     Applications     Topics 5";

    position: absolute;

    right: 20px;
    bottom: 20px;
    left: 20px;

    padding: 11px 12px;

    border: 1px solid rgba(13,187,195,.18);
    border-radius: 11px;

    background: #fff;

    color: var(--navy);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 8px;
    font-weight: 700;

    direction: ltr;
}


/* IPAD LABEL */

.download-phone--back::after {
    content: "iPad";

    position: absolute;

    left: 15px;
    bottom: 9px;

    padding: 4px 7px;

    border-radius: 999px;

    background: var(--navy);
    color: #fff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 7px;
    font-weight: 700;
}


/* =========================================
   IPHONE PORTRAIT
   ========================================= */

.download-phone--front {
    z-index: 4;

    width: 143px;
    height: 292px;

    right: 50%;
    top: 8px;

    padding: 5px;

    border: 2px solid #23344a;
    border-radius: 30px;

    background: #071c36;

    box-shadow:
        0 25px 55px rgba(11,31,58,.23);

    transform:
        translateX(90%)
        rotate(-5deg);

    animation:
        clearIphoneFloat
        4.8s ease-in-out infinite;
}


/* iPhone screen */

.download-phone--front > div {
    position: relative;

    height: 100%;

    padding:
        38px 11px
        15px;

    border-radius: 23px;

    background: #fff;

    overflow: hidden;
}


/* Dynamic Island */

.download-phone--front > div::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 50%;

    width: 52px;
    height: 16px;

    transform: translateX(-50%);

    border-radius: 999px;

    background: #071c36;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.04);
}


/* Side button */

.download-phone--front::before {
    content: "";

    position: absolute;

    top: 78px;
    right: -4px;

    width: 3px;
    height: 47px;

    border-radius: 0 3px 3px 0;

    background: #34465d;
}


/* Volume buttons */

.download-phone--front::after {
    content: "";

    position: absolute;

    top: 75px;
    left: -4px;

    width: 3px;
    height: 30px;

    border-radius: 3px 0 0 3px;

    background: #34465d;

    box-shadow:
        0 39px 0 #34465d;
}


/* iPhone home indicator */

.download-phone--front > div {
    box-shadow:
        inset 0 -7px 0 -5px
        rgba(7,28,54,.55);
}


@keyframes ipadLandscapeFloat {

    0%,
    100% {
        transform:
            translateX(-55%)
            translateY(0)
            rotate(3deg);
    }

    50% {
        transform:
            translateX(-58%)
            translateY(-6px)
            rotate(1.5deg);
    }
}


@keyframes clearIphoneFloat {

    0%,
    100% {
        transform:
            translateX(90%)
            translateY(0)
            rotate(-5deg);
    }

    50% {
        transform:
            translateX(94%)
            translateY(-9px)
            rotate(-3deg);
    }
}


@media (max-width: 390px) {

    .download-visual {
        transform: scale(.92);
        transform-origin: top center;

        margin-bottom: -20px;
    }

}


@media (min-width: 760px) {

    .download-visual {
        height: 450px;
    }

    .download-phone--back {
        width: 430px;
        height: 290px;

        top: 115px;

        border-radius: 29px;
    }

    .download-phone--back > div {
        padding: 40px 35px;

        border-radius: 21px;
    }

    .download-phone--back strong {
        font-size: 25px;
    }

    .download-phone--front {
        width: 185px;
        height: 385px;

        top: 20px;

        border-radius: 37px;
    }

    .download-phone--front > div {
        padding:
            50px 15px
            18px;

        border-radius: 30px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .download-phone--back,
    .download-phone--front {
        animation: none !important;
    }

}


/* =========================================
   DYNAMIC SOCIAL PROOF
   ========================================= */

.social-heading h2 span {
    color: var(--turquoise);
}

.testimonial-avatars {
    display: flex;
    justify-content: center;

    margin-top: 27px;

    direction: ltr;
}

.testimonial-avatars img {
    width: 66px;
    height: 66px;

    margin-left: -12px;

    border: 4px solid #fff;
    border-radius: 50%;

    object-fit: cover;
    object-position: center;

    background: var(--gray-light);

    box-shadow:
        0 10px 30px
        rgba(11,31,58,.12);

    transition:
        transform .3s ease;
}

.testimonial-avatars img:nth-child(1) {
    transform: rotate(-5deg);
}

.testimonial-avatars img:nth-child(2) {
    transform:
        translateY(-7px)
        rotate(2deg);
}

.testimonial-avatars img:nth-child(3) {
    transform:
        translateY(2px)
        rotate(-2deg);
}

.testimonial-avatars img:nth-child(4) {
    transform:
        translateY(-5px)
        rotate(5deg);
}


.testimonial-slider {
    position: relative;

    max-width: 560px;
    min-height: 255px;

    margin:
        25px auto 0;
}

.student-testimonial {
    position: absolute;

    inset: 0;

    padding: 25px 21px;

    border: 1px solid
        rgba(13,187,195,.15);

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 18px 50px
        rgba(11,31,58,.07);

    text-align: right;

    opacity: 0;

    transform:
        translateX(25px)
        scale(.98);

    pointer-events: none;

    transition:
        opacity .5s ease,
        transform .5s
        cubic-bezier(.2,.8,.2,1);
}

.student-testimonial.is-active {
    opacity: 1;

    transform:
        translateX(0)
        scale(1);

    pointer-events: auto;
}

.testimonial-quote-mark {
    display: block;

    height: 34px;

    color: var(--turquoise);

    font-family: Georgia, serif;

    font-size: 55px;
    line-height: .9;
}

.student-testimonial blockquote {
    margin: 8px 0 0;

    color: var(--navy);

    font-size: 18px;
    line-height: 1.75;

    font-weight: 700;
}

.testimonial-student {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 20px;
}

.testimonial-student img {
    width: 47px;
    height: 47px;

    flex-shrink: 0;

    border-radius: 50%;

    object-fit: cover;
    object-position: center;

    background: var(--gray-light);
}

.testimonial-student > div {
    display: flex;
    flex-direction: column;

    text-align: right;
}

.testimonial-student strong {
    color: var(--navy);

    font-size: 13px;
}

.testimonial-student span {
    margin-top: 2px;

    color: var(--gray);

    font-size: 10px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 6px;

    margin-top: 15px;
}

.testimonial-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: #d5dce0;

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease;
}

.testimonial-dot.is-active {
    width: 22px;

    background: var(--turquoise);
}

.testimonial-empty {
    max-width: 450px;

    margin: 25px auto 0;
    padding: 20px;

    border: 1px dashed
        rgba(13,187,195,.2);

    border-radius: 18px;

    color: var(--gray);

    font-size: 14px;
}


/* Avatar subtle movement */

.testimonial-avatars img {
    animation:
        testimonialAvatarFloat
        5s ease-in-out infinite;
}

.testimonial-avatars img:nth-child(2) {
    animation-delay: .4s;
}

.testimonial-avatars img:nth-child(3) {
    animation-delay: .8s;
}

.testimonial-avatars img:nth-child(4) {
    animation-delay: 1.2s;
}

@keyframes testimonialAvatarFloat {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -5px;
    }
}


@media (min-width: 760px) {

    .testimonial-slider {
        min-height: 270px;
    }

    .student-testimonial {
        padding: 32px;
    }

    .student-testimonial blockquote {
        font-size: 21px;
    }

    .testimonial-avatars img {
        width: 76px;
        height: 76px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .testimonial-avatars img {
        animation: none !important;
    }

}


/* =========================================
   DYNAMIC SOCIAL LINKS
   ========================================= */

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;

    margin-top: 13px;
}

.social-links a {
    min-width: 100px;
    min-height: 52px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 7px 15px;

    border: 1px solid
        rgba(13,187,195,.18);

    border-radius: 14px;

    background: var(--cyan-light);

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.social-links a strong {
    color: var(--navy);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 12px;
}

.social-links a small {
    margin-top: 2px;

    color: var(--turquoise-dark);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 9px;

    direction: ltr;
}

.social-links a:hover {
    transform: translateY(-3px);

    background: #fff;

    box-shadow:
        0 10px 25px
        rgba(11,31,58,.07);
}


/* =========================================
   LEGAL PAGES
   ========================================= */

.legal-body {
    margin: 0;
    background: #f7fbfc;
    color: var(--navy);
}

.legal-container {
    width: calc(100% - 40px);
    max-width: 820px;
    margin: 0 auto;
}

.legal-header {
    position: sticky;
    z-index: 20;
    top: 0;

    border-bottom: 1px solid rgba(11,31,58,.06);

    background: rgba(255,255,255,.94);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.legal-nav {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-logo {
    display: block;
    width: 110px;
    height: auto;
}

.legal-back {
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.legal-main {
    padding: 50px 0 70px;
}

.legal-hero h1 {
    margin: 8px 0 0;

    color: var(--navy);

    font-size: clamp(36px, 10vw, 58px);
    line-height: 1.15;
}

.legal-hero > p {
    max-width: 650px;

    margin: 15px 0 0;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.9;
}

.legal-updated {
    display: inline-block;

    margin-top: 17px;
    padding: 7px 10px;

    border-radius: 9px;

    background: var(--cyan-light);
    color: var(--turquoise-dark);

    font-size: 10px;
    font-weight: 700;
}

.legal-content {
    margin-top: 30px;
    padding: 24px 19px;

    border: 1px solid rgba(11,31,58,.07);
    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 15px 45px rgba(11,31,58,.04);
}

.legal-content h2 {
    position: relative;

    margin: 35px 0 12px;
    padding-right: 14px;

    color: var(--navy);

    font-size: 21px;
    line-height: 1.45;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h2::before {
    content: "";

    position: absolute;
    top: 5px;
    right: 0;

    width: 4px;
    height: 22px;

    border-radius: 10px;

    background: var(--turquoise);
}

.legal-content > p {
    margin: 9px 0;

    color: #536273;

    font-size: 14px;
    line-height: 2;
}

.legal-bullet {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin: 8px 0;
}

.legal-bullet > span {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    margin-top: 4px;

    border-radius: 50%;

    background: rgba(13,187,195,.10);
    color: var(--turquoise-dark);

    font-size: 8px;
    font-weight: 700;
}

.legal-bullet p {
    margin: 0;

    color: #536273;

    font-size: 14px;
    line-height: 1.9;
}

.legal-footer {
    padding: 28px 0;

    border-top: 1px solid rgba(11,31,58,.06);

    background: #fff;
}

.legal-footer .legal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    color: var(--gray);

    font-size: 10px;
}

.legal-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-footer-links a {
    color: var(--navy);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}


@media (min-width: 760px) {

    .legal-main {
        padding-top: 75px;
    }

    .legal-content {
        padding: 38px;
    }

}


/* =========================================
   FOOTER SPACING V2
   ========================================= */

.footer-social {
    width: 100%;
    margin-top: 25px;
}

.footer-legal-links {
    width: 100%;

    margin-top: 38px;
    padding-top: 22px;

    border-top: 1px solid
        rgba(11, 31, 58, .07);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-copy {
    margin-top: 14px;
}


/* Social buttons */

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 9px;

    margin-top: 14px;
}

.social-links a {
    min-width: 100px;
    min-height: 54px;

    padding: 8px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
}

.social-links a strong {
    line-height: 1.2;
}

.social-links a small {
    display: block;

    margin-top: 3px;

    direction: ltr;
}


/* Mobile: 3 social networks still fit cleanly */

@media (max-width: 480px) {

    .social-links {
        gap: 7px;
    }

    .social-links a {
        min-width: 0;
        flex: 1 1 calc(33.333% - 7px);

        padding-right: 6px;
        padding-left: 6px;
    }

    .footer-legal-links {
        margin-top: 34px;
        padding-top: 20px;
    }

}


/* =========================================
   NAVBAR APP DOWNLOAD
   ========================================= */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-download {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 8px 12px;

    border: 1px solid
        rgba(13,187,195,.20);

    border-radius: 12px;

    background:
        rgba(13,187,195,.08);

    color: var(--turquoise-dark);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;
}

.nav-download svg {
    width: 16px;
    height: 16px;

    flex-shrink: 0;
}

.nav-download:hover {
    transform: translateY(-1px);

    background:
        rgba(13,187,195,.13);
}


/* =========================================
   FOOTER APP DOWNLOAD
   ========================================= */

.footer-download {
    width: 100%;

    display: flex;
    justify-content: center;

    margin-top: 30px;
}

.footer-download-link {
    min-width: 185px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    padding: 11px 18px;

    border-radius: 15px;

    background: var(--navy);
    color: #fff;

    text-decoration: none;

    box-shadow:
        0 12px 30px
        rgba(11,31,58,.10);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.footer-download-link:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 35px
        rgba(11,31,58,.15);
}

.footer-download-icon {
    width: 31px;
    height: 31px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--turquoise);

    color: #fff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 18px;
    font-weight: 700;
}

.footer-download-link > span:last-child {
    display: flex;
    flex-direction: column;

    text-align: right;
}

.footer-download-link small {
    color:
        rgba(255,255,255,.60);

    font-size: 8px;
}

.footer-download-link strong {
    margin-top: 1px;

    color: #fff;

    font-size: 13px;
}


/* Legal links need breathing room */

.footer-download + .footer-legal-links {
    margin-top: 32px;
}


/* =========================================
   MOBILE NAVBAR
   ========================================= */

@media (max-width: 480px) {

    .nav-container {
        gap: 8px;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-download {
        min-height: 38px;

        padding:
            7px 9px;

        border-radius: 10px;

        font-size: 10px;
    }

    .nav-download svg {
        width: 14px;
        height: 14px;
    }

    .nav-login {
        min-height: 38px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding:
            7px 11px;

        white-space: nowrap;
    }

}


/* Extra-small phones */

@media (max-width: 360px) {

    .nav-download span {
        display: none;
    }

    .nav-download {
        width: 38px;
        padding: 0;
    }

    .nav-download svg {
        width: 17px;
        height: 17px;
    }

}


/* =========================================
   SPEDIA INTERACTIVE CAMPAIGN
   ========================================= */

.spedia-game-modal {
    position: fixed;
    z-index: 9999;

    inset: 0;

    display: grid;
    place-items: center;

    padding: 15px;

    font-family:
        "Al Qabas",
        Arial,
        sans-serif;
}

.spedia-game-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(7, 28, 54, .54);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.spedia-game-shell {
    position: relative;
    z-index: 2;

    width: min(100%, 440px);

    max-height: calc(100vh - 30px);

    overflow-y: auto;
    overflow-x: hidden;

    padding: 27px 20px 22px;

    border: 1px solid
        rgba(255,255,255,.8);

    border-radius: 29px;

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(13,187,195,.15),
            transparent 34%
        ),
        #fff;

    box-shadow:
        0 30px 100px
        rgba(7,28,54,.28);

    scrollbar-width: none;
}

.spedia-game-shell::-webkit-scrollbar {
    display: none;
}


.game-close {
    position: absolute;
    z-index: 20;

    top: 13px;
    left: 13px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid
        rgba(11,31,58,.08);

    border-radius: 50%;

    background:
        rgba(255,255,255,.9);

    color: var(--navy);

    font-family: Arial, sans-serif;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================
   STAGES
   ========================================= */

.game-stage {
    display: none;

    text-align: center;
}

.game-stage.is-active {
    display: block;

    animation:
        gameStageEnter
        .45s
        cubic-bezier(.2,.8,.2,1);
}

@keyframes gameStageEnter {

    from {
        opacity: 0;
        transform:
            translateY(14px)
            scale(.98);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}


.game-eyebrow {
    display: inline-flex;

    padding: 6px 10px;

    border-radius: 999px;

    background:
        rgba(13,187,195,.10);

    color: var(--turquoise-dark);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
}


.game-copy h2,
.wheel-copy h2,
[data-game-stage="win"] h2 {
    max-width: 330px;

    margin: 8px auto 0;

    color: var(--navy);

    font-size: clamp(
        29px,
        8vw,
        39px
    );

    line-height: 1.12;

    letter-spacing: -.7px;
}


.game-copy > p,
.wheel-copy > p {
    max-width: 330px;

    margin: 9px auto 0;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   TARGET GAME
   ========================================= */

.target-arena {
    position: relative;

    height: 285px;

    margin-top: 11px;

    overflow: hidden;
}


.target-path {
    position: absolute;

    top: 34px;
    right: 12px;
    left: 12px;

    height: 75px;
}


.flying-a {
    position: absolute;

    top: 0;
    left: 0;

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    border: 3px solid #fff;
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            var(--turquoise),
            #078d94
        );

    color: #fff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 38px;
    font-weight: 900;

    box-shadow:
        0 15px 35px
        rgba(13,187,195,.28);

    animation:
        flyingGrade
        2.4s
        ease-in-out
        infinite alternate;
}


.flying-a::before,
.flying-a::after {
    content: "";

    position: absolute;

    top: 21px;

    width: 21px;
    height: 11px;

    border-radius:
        70% 20% 70% 20%;

    background:
        rgba(221,248,249,.95);
}

.flying-a::before {
    right: -18px;
    transform: rotate(-20deg);
}

.flying-a::after {
    left: -18px;
    transform: rotate(20deg);
}


@keyframes flyingGrade {

    0% {
        left: 4%;
        transform:
            translateY(5px)
            rotate(-5deg);
    }

    35% {
        transform:
            translateY(-8px)
            rotate(4deg);
    }

    70% {
        transform:
            translateY(8px)
            rotate(-3deg);
    }

    100% {
        left: calc(96% - 64px);

        transform:
            translateY(-3px)
            rotate(5deg);
    }
}


/* Student */

.student-character {
    position: absolute;

    bottom: 8px;
    left: 50%;

    width: 105px;
    height: 150px;

    transform:
        translateX(-50%);
}


.student-head {
    position: absolute;

    top: 5px;
    left: 50%;

    width: 47px;
    height: 47px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background: #d6a071;
}


.student-hair {
    position: absolute;

    top: 1px;
    left: 50%;

    width: 48px;
    height: 23px;

    transform:
        translateX(-50%);

    border-radius:
        25px 25px 8px 8px;

    background: #152238;
}


.student-body {
    position: absolute;

    bottom: 0;
    left: 50%;

    width: 82px;
    height: 98px;

    transform:
        translateX(-50%);

    display: flex;
    justify-content: center;

    padding-top: 19px;

    border-radius:
        32px 32px
        18px 18px;

    background:
        linear-gradient(
            145deg,
            var(--navy),
            #173657
        );

    color:
        rgba(255,255,255,.18);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 34px;
    font-weight: 900;
}


.student-arm {
    position: absolute;

    top: 68px;
    right: 1px;

    width: 48px;
    height: 13px;

    border-radius: 20px;

    background: #d6a071;

    transform:
        rotate(-34deg);

    transform-origin:
        left center;
}


.projectile {
    position: absolute;
    z-index: 10;

    bottom: 128px;
    left: 50%;

    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    transform:
        translateX(-50%)
        scale(0);

    border-radius: 50%;

    background: var(--turquoise);

    color: #fff;

    font-size: 13px;

    opacity: 0;

    box-shadow:
        0 8px 20px
        rgba(13,187,195,.3);
}


/* Throw */

.spedia-game-shell.is-throwing
.projectile {

    animation:
        projectileThrow
        .65s
        cubic-bezier(.2,.75,.3,1)
        forwards;
}


@keyframes projectileThrow {

    0% {
        opacity: 1;

        transform:
            translate(-50%, 0)
            scale(.65);
    }

    65% {
        opacity: 1;

        transform:
            translate(
                -35px,
                -125px
            )
            scale(1);
    }

    100% {
        opacity: 0;

        transform:
            translate(
                -45px,
                -175px
            )
            scale(.65);
    }
}


.spedia-game-shell.is-hit
.flying-a {

    animation: gradeHit .55s ease forwards;
}


@keyframes gradeHit {

    30% {
        transform:
            scale(1.3)
            rotate(-10deg);
    }

    100% {
        transform:
            scale(.15)
            rotate(120deg);

        opacity: 0;
    }
}


/* Sparks */

.game-spark {
    position: absolute;

    color: var(--turquoise);

    font-size: 15px;

    opacity: .3;
}

.spark-1 {
    top: 110px;
    right: 28px;

    animation:
        tinyFloat
        2.5s ease-in-out infinite;
}

.spark-2 {
    top: 139px;
    left: 35px;

    animation:
        tinyFloat
        3s .5s ease-in-out infinite;
}

.spark-3 {
    top: 185px;
    right: 63px;

    animation:
        tinyFloat
        2.8s 1s ease-in-out infinite;
}


@keyframes tinyFloat {

    50% {
        transform:
            translateY(-7px)
            rotate(20deg);

        opacity: .8;
    }
}


.game-instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: -4px;

    color: var(--gray);

    font-size: 11px;
}


.game-throw-button {
    width: 100%;
    min-height: 57px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 13px;

    border: 0;
    border-radius: 16px;

    background: var(--turquoise);

    color: #fff;

    font-family:
        "Al Qabas",
        Arial,
        sans-serif;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 15px 35px
        rgba(13,187,195,.22);
}


.game-throw-button:disabled {
    opacity: .65;
    cursor: wait;
}


/* =========================================
   WHEEL
   ========================================= */

.wheel-area {
    position: relative;

    width: 285px;
    height: 285px;

    margin:
        29px auto
        20px;
}


.prize-wheel {
    position: absolute;

    inset: 8px;

    border: 8px solid #fff;
    border-radius: 50%;

    background:
        conic-gradient(
            from -90deg,
            #0dbbc3 0deg 90deg,
            #0b1f3a 90deg 180deg,
            #55d7dc 180deg 270deg,
            #dff7f8 270deg 360deg
        );

    box-shadow:
        0 22px 60px
        rgba(11,31,58,.18);

    transition:
        transform 4.2s
        cubic-bezier(.12,.62,.12,1);
}


.wheel-pointer {
    position: absolute;
    z-index: 10;

    top: -12px;
    left: 50%;

    transform:
        translateX(-50%);

    color: #f59e0b;

    font-size: 34px;

    filter:
        drop-shadow(
            0 5px 5px
            rgba(11,31,58,.15)
        );
}


.wheel-center {
    position: absolute;
    z-index: 8;

    top: 50%;
    left: 50%;

    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    transform:
        translate(-50%,-50%);

    border: 6px solid #fff;
    border-radius: 50%;

    background: var(--navy);

    color: #fff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 25px;
    font-weight: 900;

    box-shadow:
        0 8px 20px
        rgba(11,31,58,.2);
}


.wheel-label {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 82px;

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    text-align: center;

    transform-origin:
        0 0;
}


.wheel-label span {
    display: block;
}


.wheel-status {
    color: var(--gray);

    font-size: 12px;
}


/* =========================================
   WIN SCREEN
   ========================================= */

.win-icon {
    width: 74px;
    height: 74px;

    display: grid;
    place-items: center;

    margin:
        17px auto 12px;

    border-radius: 22px;

    background:
        var(--cyan-light);

    font-size: 36px;

    animation:
        winBounce
        1.7s ease-in-out infinite;
}


@keyframes winBounce {

    50% {
        transform:
            translateY(-5px)
            rotate(4deg);
    }
}


.won-prize {
    margin-top: 21px;

    padding: 17px;

    border: 1px solid
        rgba(13,187,195,.15);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #effcfc,
            #fff
        );
}


.won-prize small {
    display: block;

    color: var(--gray);

    font-size: 10px;
}


.won-prize strong {
    display: block;

    margin-top: 3px;

    color: var(--turquoise-dark);

    font-size: 26px;
    line-height: 1.3;
}


.won-prize p {
    margin: 6px 0 0;

    color: var(--gray);

    font-size: 12px;
    line-height: 1.6;
}


.coupon-box {
    position: relative;

    margin-top: 12px;
    padding: 16px;

    border: 1px dashed
        rgba(11,31,58,.18);

    border-radius: 17px;

    background: #fff;
}


.coupon-box small,
.coupon-box span {
    display: block;

    color: var(--gray);

    font-size: 10px;
}


.coupon-box strong {
    display: block;

    margin: 6px 0;

    color: var(--navy);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 28px;
    letter-spacing: 1.3px;
}


.game-win-cta {
    min-height: 57px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 15px;
    padding: 0 18px;

    border-radius: 16px;

    background: var(--turquoise);

    color: #fff;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;
}


.game-finish {
    margin-top: 12px;

    padding: 8px 15px;

    border: 0;

    background: transparent;

    color: var(--gray);

    font-family:
        "Al Qabas",
        Arial,
        sans-serif;

    font-size: 11px;

    cursor: pointer;
}


.win-celebration span {
    position: absolute;

    color: #f59e0b;

    font-size: 19px;

    animation:
        confettiFloat
        2.1s ease-in-out infinite;
}


.win-celebration span:nth-child(1) {
    top: 55px;
    right: 28px;
}

.win-celebration span:nth-child(2) {
    top: 105px;
    left: 27px;

    animation-delay: .3s;
}

.win-celebration span:nth-child(3) {
    top: 175px;
    right: 36px;

    animation-delay: .7s;
}

.win-celebration span:nth-child(4) {
    top: 220px;
    left: 32px;

    animation-delay: 1s;
}


@keyframes confettiFloat {

    50% {
        transform:
            translateY(-10px)
            rotate(45deg);

        color: var(--turquoise);
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 420px) {

    .spedia-game-modal {
        padding: 10px;
    }

    .spedia-game-shell {
        width: 100%;

        padding:
            24px 16px
            18px;

        border-radius: 25px;
    }

    .target-arena {
        height: 260px;
    }

    .wheel-area {
        width: 260px;
        height: 260px;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .flying-a,
    .game-spark,
    .win-icon,
    .win-celebration span {
        animation: none !important;
    }

}


/* =========================================
   SPEDIA GAME — REAL THROW V2
   ========================================= */

.target-arena {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}


/* -----------------------------
   Draggable arm
   ----------------------------- */

.student-arm {
    z-index: 15;

    cursor: grab;

    touch-action: none;

    transform-origin:
        6px 50%;

    transition:
        filter .15s ease;
}

.student-arm:active,
.student-arm.is-aiming {
    cursor: grabbing;

    filter:
        drop-shadow(
            0 5px 7px
            rgba(13,187,195,.25)
        );
}


.throw-ball {
    position: absolute;

    top: 50%;
    right: -13px;

    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    transform:
        translateY(-50%);

    border: 3px solid #fff;
    border-radius: 50%;

    background:
        var(--turquoise);

    color: #fff;

    font-family:
        Arial,
        sans-serif;

    font-size: 12px;

    box-shadow:
        0 7px 18px
        rgba(13,187,195,.35);

    pointer-events: none;
}


/* Make hand easier to grab on mobile */

.student-arm::after {
    content: "";

    position: absolute;

    top: -18px;
    right: -22px;

    width: 58px;
    height: 50px;

    border-radius: 50%;
}


/* -----------------------------
   Real projectile
   ----------------------------- */

.projectile {
    position: absolute;
    z-index: 30;

    width: 29px;
    height: 29px;

    display: none;
    place-items: center;

    left: 0;
    top: 0;
    bottom: auto;

    border: 3px solid #fff;
    border-radius: 50%;

    background:
        var(--turquoise);

    color: #fff;

    font-family:
        Arial,
        sans-serif;

    font-size: 12px;

    opacity: 1;

    transform: none;

    box-shadow:
        0 8px 20px
        rgba(13,187,195,.38);

    pointer-events: none;
}

.projectile.is-flying {
    display: grid;
}


/* Kill old automatic animation */

.spedia-game-shell.is-throwing
.projectile {
    animation: none !important;
}


/* -----------------------------
   Aim trajectory
   ----------------------------- */

.aim-trajectory {
    position: absolute;
    z-index: 8;

    display: none;

    height: 4px;

    border-radius: 999px;

    transform-origin:
        left center;

    pointer-events: none;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(13,187,195,.75)
            0 7px,
            transparent
            7px 14px
        );
}

.aim-trajectory.is-visible {
    display: block;
}


/* -----------------------------
   Attempts / instructions
   ----------------------------- */

.aim-guide {
    margin-top: -3px;
}


.attempts-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: var(--gray);

    font-size: 11px;
}


.attempt-dots {
    direction: ltr;

    display: flex;
    gap: 5px;
}


.attempt-dots i {
    width: 9px;
    height: 9px;

    display: block;

    border-radius: 50%;

    background:
        var(--turquoise);

    box-shadow:
        0 2px 7px
        rgba(13,187,195,.2);

    transition:
        opacity .2s ease,
        transform .2s ease,
        background .2s ease;
}


.attempt-dots i.is-used {
    opacity: .22;
    transform: scale(.75);

    background:
        var(--gray);
}


.throw-feedback {
    min-height: 25px;

    margin-top: 8px;

    color: var(--navy);

    font-size: 12px;
    font-weight: 700;

    transition:
        color .2s ease;
}


.throw-feedback.is-miss {
    color: #d97706;
}


.throw-feedback.is-hit {
    color: var(--turquoise-dark);
}


.throw-help {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 6px;

    margin-top: 8px;
}


.throw-help > span {
    min-height: 51px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 6px 3px;

    border: 1px solid
        rgba(11,31,58,.06);

    border-radius: 11px;

    background:
        rgba(247,250,252,.85);

    color: var(--turquoise-dark);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 9px;
    font-weight: 800;
}


.throw-help strong {
    display: block;

    margin-top: 2px;

    color: var(--navy);

    font-family:
        "Al Qabas",
        Arial,
        sans-serif;

    font-size: 9px;
}


/* -----------------------------
   Hit effect
   ----------------------------- */

.spedia-game-shell.is-hit
.flying-a {
    animation:
        gradeHit
        .55s
        ease
        forwards !important;
}


/* -----------------------------
   Mobile
   ----------------------------- */

@media (max-width: 420px) {

    .throw-help {
        gap: 5px;
    }

    .throw-help > span {
        min-height: 48px;
    }

    .target-arena {
        height: 270px;
    }

}


/* =========================================
   DIRECT AIM POLISH
   ========================================= */

.student-arm {
    transition:
        transform .055s linear,
        filter .15s ease;

    will-change: transform;
}

.student-arm.is-aiming {
    transition:
        transform .035s linear,
        filter .15s ease;
}

.aim-trajectory {
    transition:
        width .06s linear,
        transform .04s linear;
}


/* Make interaction visually obvious */

.student-arm.is-aiming .throw-ball {
    transform:
        translateY(-50%)
        scale(1.12);

    box-shadow:
        0 0 0 7px
        rgba(13,187,195,.10),
        0 8px 22px
        rgba(13,187,195,.35);
}


/* =========================================
   COUPON WIN EXPERIENCE
   ========================================= */

.copy-coupon-button {
    width: 100%;
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-top: 12px;

    border: 1px solid
        rgba(13,187,195,.20);

    border-radius: 12px;

    background:
        rgba(13,187,195,.08);

    color:
        var(--turquoise-dark);

    font-family:
        "Al Qabas",
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .15s ease,
        background .15s ease;
}


.copy-coupon-button:active {
    transform: scale(.98);
}


.copy-coupon-button.is-copied {
    background:
        rgba(13,187,195,.14);
}


.coupon-how-to {
    margin-top: 13px;

    padding: 14px;

    border-radius: 16px;

    background:
        #f7fafc;

    text-align: right;
}


.coupon-how-to > strong {
    display: block;

    margin-bottom: 10px;

    color: var(--navy);

    font-size: 13px;
}


.coupon-step {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 8px;

    color: var(--gray);

    font-size: 11px;
    line-height: 1.5;
}


.coupon-step b {
    flex: 0 0 auto;

    width: 23px;
    height: 23px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(13,187,195,.11);

    color:
        var(--turquoise-dark);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    font-size: 10px;
}


@media (max-width: 420px) {

    .coupon-how-to {
        padding: 12px;
    }

    .coupon-step {
        font-size: 11px;
    }

}


/* =========================================
   SPEDIA GAME — DIFFICULTY V3
   Medium difficulty
   ========================================= */

/*
 * Taller playground:
 * more distance between student and A.
 */

.target-arena {
    height: 355px;
}


/*
 * Move the target higher.
 */

.target-path {
    top: 18px;
    height: 105px;
}


/*
 * Faster target + less predictable movement.
 */

.flying-a {
    animation:
        flyingGradeHard
        1.65s
        cubic-bezier(.45,.05,.55,.95)
        infinite alternate;
}


@keyframes flyingGradeHard {

    0% {
        left: 2%;

        transform:
            translateY(18px)
            rotate(-7deg);
    }

    20% {
        transform:
            translateY(-8px)
            rotate(5deg);
    }

    42% {
        transform:
            translateY(21px)
            rotate(-4deg);
    }

    65% {
        transform:
            translateY(-15px)
            rotate(6deg);
    }

    82% {
        transform:
            translateY(9px)
            rotate(-3deg);
    }

    100% {
        left: calc(98% - 64px);

        transform:
            translateY(-11px)
            rotate(7deg);
    }
}


/*
 * Student stays lower so the throw
 * actually has more distance to travel.
 */

.student-character {
    bottom: 2px;
}


/*
 * Keep enough room on mobile.
 */

@media (max-width: 420px) {

    .target-arena {
        height: 335px;
    }

    .target-path {
        top: 15px;
    }

}


/* =========================================
   SPEDIA GAME — MOBILE AIM UX
   ========================================= */

.aim-target {
    position: absolute;
    z-index: 18;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(.65);

    border:
        2px solid
        rgba(13,187,195,.95);

    border-radius: 50%;

    pointer-events: none;

    box-shadow:
        0 0 0 5px
        rgba(13,187,195,.10),
        0 5px 18px
        rgba(13,187,195,.25);

    transition:
        opacity .12s ease,
        transform .12s ease;
}


.aim-target::before,
.aim-target::after {
    content: "";

    position: absolute;

    background:
        rgba(13,187,195,.95);

    border-radius: 999px;
}


.aim-target::before {
    width: 12px;
    height: 2px;
}


.aim-target::after {
    width: 2px;
    height: 12px;
}


.aim-target span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--turquoise);

    box-shadow:
        0 0 10px
        rgba(13,187,195,.8);
}


.aim-target.is-visible {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);
}


/*
 * Make the draggable hand easier to acquire
 * with a thumb without visually enlarging it.
 */
@media (pointer: coarse) {

    .student-arm::after {
        content: "";

        position: absolute;

        top: 50%;
        left: 50%;

        width: 58px;
        height: 58px;

        transform:
            translate(-50%, -50%);

        border-radius: 50%;
    }


    .student-arm.is-aiming .throw-ball {
        box-shadow:
            0 0 0 7px
            rgba(13,187,195,.12),
            0 7px 18px
            rgba(13,187,195,.38);
    }

}




/* =========================================
   SPEDIA INSTALLMENTS SECTION
   ========================================= */

.installments-section {
    padding: 26px 0 72px;
}

.installments-card {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 46px;

    padding: 42px 46px;

    border: 1px solid rgba(64, 224, 208, .18);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(64, 224, 208, .10),
            transparent 34%
        ),
        rgba(255, 255, 255, .025);
}

.installments-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    right: -90px;
    top: -90px;
    background: rgba(64, 224, 208, .07);
    pointer-events: none;
}

.installments-copy,
.installments-visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.installments-eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    font-family: "Al Qabas", sans-serif;
    font-size: 13px;
    font-weight: 800;

    /* Arabic letters must remain connected */
    letter-spacing: 0;

    color: #40e0d0;
}

.installments-copy h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.25;
    font-weight: 800;
}

.installments-copy h2 span {
    color: #40e0d0;
}

.installments-copy > p {
    margin: 13px 0 0;
    opacity: .72;
    font-size: 16px;
}

.installments-no-commitment {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 19px;
    padding: 9px 13px;

    border-radius: 999px;
    background: rgba(64, 224, 208, .08);

    font-size: 13px;
    font-weight: 600;
}

.installments-no-commitment > span {
    display: grid;
    place-items: center;

    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    border-radius: 50%;
    background: #40e0d0;
    color: #071615;

    font-size: 11px;
    font-weight: 900;
}


/* PRICE */

.installments-total {
    text-align: center;
    margin-bottom: 25px;
}

.installments-total > span {
    display: block;
    margin-bottom: 6px;

    font-size: 13px;
    font-weight: 800;
    color: #40e0d0;
    opacity: 1;
}

.installments-total > strong {
    display: block;

    font-size: 40px;
    line-height: 1.1;
    font-weight: 900;

    color: #40e0d0;
    text-shadow: 0 0 22px rgba(64, 224, 208, .22);
}

.installments-total > strong small {
    font-size: 14px;
    color: #40e0d0;
}

.installments-split {
    display: inline-block;

    margin-top: 8px;
    padding: 6px 12px;

    border-radius: 999px;

    background: rgba(64, 224, 208, .09);
    color: #40e0d0;

    font-size: 13px;
    font-weight: 800;
}


/* 4 PAYMENT TIMELINE */

.installments-timeline {
    direction: rtl;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
}

.installment-payment {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex: 0 0 72px;

    opacity: .42;

    animation:
        spediaPaymentActive 6s ease-in-out infinite;
}

.installment-payment-circle {
    position: relative;

    width: 68px;
    height: 68px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(64, 224, 208, .28);
    background: rgba(7, 22, 26, .96);

    transition: .25s ease;
}

.installment-payment-circle strong {
    font-size: 21px;
    line-height: 1;
    color: #fff;
}

.installment-payment-circle small {
    margin-top: 3px;
    font-size: 9px;
    color: #40e0d0;
}

.installment-check {
    position: absolute;

    top: -5px;
    right: -3px;

    width: 21px;
    height: 21px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #40e0d0;
    color: #061514;

    font-size: 11px;
    font-weight: 900;

    opacity: 0;
    transform: scale(.4);

    animation:
        spediaPaymentCheck 6s ease-in-out infinite;
}

.installment-date {
    margin-top: 9px;

    white-space: nowrap;

    font-size: 10px;
    font-weight: 700;
    opacity: .62;
}


/* CONNECTORS */

.installment-connector {
    position: relative;

    flex: 1 1 30px;
    max-width: 54px;
    min-width: 15px;

    height: 2px;

    margin: 33px 5px 0;

    overflow: hidden;

    background: rgba(64, 224, 208, .13);
}

.installment-connector::after {
    content: "";

    position: absolute;
    inset: 0;

    background: #40e0d0;

    transform: scaleX(0);
    transform-origin: right center;

    animation:
        spediaConnectorFill 6s ease-in-out infinite;
}


/* PAYMENT SEQUENCE */

.installment-payment:nth-of-type(1),
.installment-payment:nth-of-type(1) .installment-check {
    animation-delay: 0s;
}

.installment-payment:nth-of-type(3),
.installment-payment:nth-of-type(3) .installment-check {
    animation-delay: 1.2s;
}

.installment-payment:nth-of-type(5),
.installment-payment:nth-of-type(5) .installment-check {
    animation-delay: 2.4s;
}

.installment-payment:nth-of-type(7),
.installment-payment:nth-of-type(7) .installment-check {
    animation-delay: 3.6s;
}

.installment-connector:nth-of-type(2)::after {
    animation-delay: .7s;
}

.installment-connector:nth-of-type(4)::after {
    animation-delay: 1.9s;
}

.installment-connector:nth-of-type(6)::after {
    animation-delay: 3.1s;
}


@keyframes spediaPaymentActive {

    0%,
    10% {
        opacity: .42;
        transform: scale(.94);
    }

    15%,
    65% {
        opacity: 1;
        transform: scale(1);
    }

    85%,
    100% {
        opacity: .42;
        transform: scale(.94);
    }
}


@keyframes spediaPaymentCheck {

    0%,
    10% {
        opacity: 0;
        transform: scale(.4);
    }

    15%,
    65% {
        opacity: 1;
        transform: scale(1);
    }

    85%,
    100% {
        opacity: 0;
        transform: scale(.4);
    }
}


@keyframes spediaConnectorFill {

    0%,
    12% {
        transform: scaleX(0);
    }

    22%,
    70% {
        transform: scaleX(1);
    }

    90%,
    100% {
        transform: scaleX(0);
    }
}


/* MOBILE */

@media (max-width: 760px) {

    .installments-section {
        padding: 16px 0 54px;
    }

    .installments-card {
        grid-template-columns: 1fr;
        gap: 27px;

        padding: 30px 17px 27px;

        border-radius: 23px;

        text-align: center;
    }

    .installments-copy > p {
        font-size: 15px;
    }

    .installments-no-commitment {
        justify-content: center;
        font-size: 12px;
    }

    .installments-total {
        margin-bottom: 21px;
    }

    .installments-total > strong {
        font-size: 31px;
    }

    .installment-payment {
        flex-basis: 58px;
    }

    .installment-payment-circle {
        width: 56px;
        height: 56px;
    }

    .installment-payment-circle strong {
        font-size: 18px;
    }

    .installment-date {
        font-size: 9px;
    }

    .installment-connector {
        min-width: 6px;
        margin-left: 2px;
        margin-right: 2px;
        margin-top: 27px;
    }

}


@media (max-width: 390px) {

    .installments-card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .installment-payment {
        flex-basis: 52px;
    }

    .installment-payment-circle {
        width: 50px;
        height: 50px;
    }

    .installment-payment-circle strong {
        font-size: 16px;
    }

    .installment-check {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    .installment-date {
        font-size: 8px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .installment-payment,
    .installment-check,
    .installment-connector::after {
        animation: none;
    }

    .installment-payment {
        opacity: 1;
        transform: none;
    }

    .installment-check {
        opacity: 1;
        transform: scale(1);
    }

    .installment-connector::after {
        transform: scaleX(1);
    }

}


/* =========================================
   SPEDIA DOWNLOAD — IPHONE LESSON UI
   ========================================= */

.download-phone--front {
    position: relative;
    overflow: hidden;

    padding:
        32px 13px
        18px !important;

    border:
        4px solid
        #101820 !important;

    border-radius:
        38px !important;

    background:
        #f7fafb !important;

    color: #0b1f3a;

    box-shadow:
        0 28px 65px
        rgba(7, 28, 54, .22),
        inset 0 0 0 1px
        rgba(255,255,255,.5);
}


/* Dynamic Island */

.iphone-island {
    position: absolute;

    top: 8px;
    left: 50%;

    width: 66px;
    height: 18px;

    transform:
        translateX(-50%);

    border-radius: 999px;

    background: #050708;

    z-index: 5;
}


/* App header */

.iphone-app-header {
    display: grid;

    grid-template-columns:
        24px 1fr 27px;

    align-items: center;

    gap: 6px;

    margin-bottom: 10px;

    text-align: left;
}

.iphone-app-header > div:nth-child(2) {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.iphone-app-header small {
    color: #0dbbc3;

    font-size: 6px;
    font-weight: 900;

    letter-spacing: .5px;
}

.iphone-app-header strong {
    overflow: hidden;

    color: #0b1f3a;

    font-size: 9px;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.iphone-back {
    color: #0b1f3a;

    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1;
}

.iphone-spedia-logo {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #0dbbc3,
            #0a8791
        );

    color: #fff;

    font-size: 11px;
    font-weight: 900;
}


/* Video player */

.iphone-video {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 9;

    border-radius: 12px;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(13,187,195,.22),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #071c36,
            #0b2947
        );

    box-shadow:
        0 8px 20px
        rgba(7,28,54,.16);
}

.iphone-video-board {
    position: absolute;

    inset:
        17px 15px
        auto;

    display: flex;
    align-items: baseline;
    justify-content: center;

    gap: 4px;

    color: #fff;

    font-family:
        Georgia,
        serif;
}

.iphone-video-board span {
    color: #40e0d0;

    font-size: 10px;
}

.iphone-video-board strong {
    font-size: 15px;
}

.iphone-video-board small {
    color:
        rgba(255,255,255,.58);

    font-size: 6px;
}


/* Play */

.iphone-play-button {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    padding-left: 2px;

    transform:
        translate(-50%, -50%);

    border:
        1px solid
        rgba(255,255,255,.6);

    border-radius: 50%;

    background:
        rgba(255,255,255,.92);

    color: #0dbbc3;

    font-size: 11px;

    box-shadow:
        0 5px 15px
        rgba(0,0,0,.18);
}


/* Video timeline */

.iphone-video-bottom {
    position: absolute;

    right: 9px;
    bottom: 7px;
    left: 9px;

    display: flex;
    align-items: center;

    gap: 5px;

    color:
        rgba(255,255,255,.7);

    font-family:
        Arial,
        sans-serif;

    font-size: 5px;
}

.iphone-video-progress {
    position: relative;

    height: 2px;

    flex: 1;

    overflow: hidden;

    border-radius: 99px;

    background:
        rgba(255,255,255,.22);
}

.iphone-video-progress i {
    position: absolute;

    inset:
        0 auto 0 0;

    width: 38%;

    border-radius: inherit;

    background: #40e0d0;

    animation:
        iphoneVideoProgress
        4s ease-in-out
        infinite alternate;
}

@keyframes iphoneVideoProgress {

    from {
        width: 34%;
    }

    to {
        width: 48%;
    }

}


/* Lesson information */

.iphone-lesson-meta {
    margin-top: 10px;

    text-align: left;
}

.iphone-lesson-meta > small {
    display: block;

    margin-bottom: 2px;

    color: #0dbbc3;

    font-size: 6px;
    font-weight: 900;

    letter-spacing: .7px;
}

.iphone-lesson-meta > strong {
    display: block;

    color: #0b1f3a;

    font-size: 11px;
    font-weight: 900;
}

.iphone-lesson-meta > div {
    display: flex;
    justify-content: space-between;

    margin-top: 4px;

    color: #718096;

    font-size: 6px;
}

.iphone-lesson-meta b {
    color: #0dbbc3;
}


/* Topics */

.iphone-topics {
    display: flex;
    flex-direction: column;

    gap: 5px;

    margin-top: 8px;
}

.iphone-topic {
    display: flex;
    align-items: center;

    gap: 7px;

    padding: 6px 7px;

    border:
        1px solid
        rgba(11,31,58,.07);

    border-radius: 9px;

    background: #fff;

    text-align: left;
}

.iphone-topic > div {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.iphone-topic strong {
    color: #0b1f3a;

    font-size: 7px;
    font-weight: 900;
}

.iphone-topic small {
    margin-top: 1px;

    color: #8a98a9;

    font-size: 5px;
}

.iphone-topic-status {
    width: 21px;
    height: 21px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 7px;

    background: #edf3f5;

    color: #718096;

    font-family:
        Arial,
        sans-serif;

    font-size: 6px;
    font-weight: 900;
}

.iphone-topic.is-complete
.iphone-topic-status {
    background:
        rgba(13,187,195,.12);

    color: #0a9ba4;
}

.iphone-topic.is-playing {
    border-color:
        rgba(13,187,195,.35);

    background:
        rgba(13,187,195,.055);

    box-shadow:
        0 4px 13px
        rgba(13,187,195,.08);
}

.iphone-topic.is-playing
.iphone-topic-status {
    background: #0dbbc3;

    color: #fff;

    animation:
        iphoneLessonPulse
        1.8s ease-in-out
        infinite;
}

.iphone-topic--quiz
.iphone-topic-status {
    background: #0b1f3a;

    color: #40e0d0;
}

@keyframes iphoneLessonPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

}


/* iPhone home bar */

.iphone-home-indicator {
    position: absolute;

    bottom: 6px;
    left: 50%;

    width: 58px;
    height: 3px;

    transform:
        translateX(-50%);

    border-radius: 99px;

    background: #111;
}


/* Small screens */

@media (max-width: 600px) {

    .download-phone--front {
        border-width:
            3px !important;

        border-radius:
            32px !important;
    }

}


@media (prefers-reduced-motion: reduce) {

    .iphone-video-progress i,
    .iphone-topic.is-playing
    .iphone-topic-status {
        animation: none;
    }

}



/* =========================================
   IPHONE LESSON UI — LEGACY CSS OVERRIDE
   The old design used:
   .download-phone > div { height:100%; ... }
   New iPhone children must not inherit that screen rule.
   ========================================= */

.download-phone--front > .iphone-island,
.download-phone--front > .iphone-app-header,
.download-phone--front > .iphone-video,
.download-phone--front > .iphone-lesson-meta,
.download-phone--front > .iphone-topics,
.download-phone--front > .iphone-home-indicator {
    height: auto;
    padding: 0;
    border-radius: initial;
    overflow: visible;
    box-shadow: none;
}


/* Island */

.download-phone--front > .iphone-island {
    position: absolute;

    top: 8px;
    left: 50%;

    width: 66px;
    height: 18px;

    transform: translateX(-50%);

    border-radius: 999px;

    background: #050708;

    z-index: 10;
}


/* Header */

.download-phone--front > .iphone-app-header {
    position: relative;

    display: grid;

    grid-template-columns:
        24px minmax(0, 1fr) 27px;

    align-items: center;

    gap: 6px;

    width: 100%;

    margin: 0 0 10px;

    background: transparent;
}


/* Video */

.download-phone--front > .iphone-video {
    position: relative;

    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 12px;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(13,187,195,.22),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #071c36,
            #0b2947
        );

    box-shadow:
        0 8px 20px
        rgba(7,28,54,.16);
}


/* Lesson meta */

.download-phone--front > .iphone-lesson-meta {
    position: relative;

    display: block;

    width: 100%;

    margin: 10px 0 0;

    background: transparent;

    text-align: left;
}


/* Chapter lessons */

.download-phone--front > .iphone-topics {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;

    gap: 5px;

    margin: 8px 0 0;

    background: transparent;

    overflow: visible;
}


/* Home indicator */

.download-phone--front > .iphone-home-indicator {
    position: absolute;

    bottom: 6px;
    left: 50%;

    width: 58px;
    height: 3px;

    transform: translateX(-50%);

    border-radius: 999px;

    background: #111;

    z-index: 10;
}


/* Do not let old pseudo-screen rules create
   extra Dynamic Islands on every child */

.download-phone--front > .iphone-island::before,
.download-phone--front > .iphone-app-header::before,
.download-phone--front > .iphone-video::before,
.download-phone--front > .iphone-lesson-meta::before,
.download-phone--front > .iphone-topics::before,
.download-phone--front > .iphone-home-indicator::before {
    content: none !important;
}


/* Mobile sizing */

@media (max-width: 600px) {

    .download-phone--front {
        padding:
            30px 11px
            16px !important;
    }

    .download-phone--front > .iphone-island {
        width: 58px;
        height: 16px;
    }

}




/* =========================================
   SPEDIA DOWNLOAD — IPAD LEARNING UI
   Chapters left / Lesson right
   ========================================= */


/* Kill legacy direct-child screen rules */

.download-phone--back > .spedia-ipad-screen {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    padding: 14px !important;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #f8fbfc,
            #ffffff
        ) !important;

    overflow: hidden;

    color: #0b1f3a;

    box-shadow: none;
}


/* Disable old fake content */

.download-phone--back > .spedia-ipad-screen::before,
.download-phone--back > .spedia-ipad-screen::after {
    content: none !important;
}


/* Camera */

.ipad-camera {
    position: absolute;

    top: 50%;
    left: 4px;

    width: 4px;
    height: 4px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #566474;

    box-shadow:
        0 0 0 2px #172334;
}


/* =========================
   TOP BAR
   ========================= */

.ipad-topbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-shrink: 0;

    min-height: 31px;

    padding: 0 2px 8px;

    border-bottom:
        1px solid
        rgba(11,31,58,.07);
}


.ipad-brand {
    display: flex;

    align-items: center;

    gap: 7px;
}


.ipad-brand > span {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #0dbbc3,
            #087f89
        );

    color: #fff;

    font-size: 11px;
    font-weight: 900;
}


.ipad-brand > div {
    display: flex;
    flex-direction: column;

    text-align: left;
}


.ipad-brand small {
    color: #0dbbc3;

    font-size: 5px;
    font-weight: 900;

    letter-spacing: .6px;
}


.ipad-brand strong {
    color: #0b1f3a;

    font-size: 9px;
    font-weight: 900;
}


.ipad-progress {
    display: flex;

    align-items: center;

    gap: 6px;

    padding: 4px 7px;

    border-radius: 999px;

    background:
        rgba(13,187,195,.08);
}


.ipad-progress span {
    color: #718096;

    font-size: 5px;
}


.ipad-progress strong {
    color: #0a9ca5;

    font-size: 7px;
}


/* =========================
   MAIN LAYOUT
   ========================= */

.ipad-learning-layout {
    display: grid;

    grid-template-columns:
        32% minmax(0, 1fr);

    flex: 1;

    min-height: 0;

    gap: 10px;

    padding-top: 10px;
}


/* =========================
   LEFT — CHAPTERS
   ========================= */

.ipad-chapters {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 5px;

    padding-right: 8px;

    border-right:
        1px solid
        rgba(11,31,58,.07);
}


.ipad-chapters-title {
    display: flex;
    flex-direction: column;

    margin-bottom: 3px;

    text-align: left;
}


.ipad-chapters-title small {
    color: #0dbbc3;

    font-size: 5px;
    font-weight: 900;

    letter-spacing: .5px;
}


.ipad-chapters-title strong {
    margin-top: 1px;

    color: #0b1f3a;

    font-size: 9px;
    font-weight: 900;
}


.ipad-chapter {
    display: grid;

    grid-template-columns:
        21px minmax(0, 1fr);

    align-items: center;

    gap: 5px;

    padding: 6px;

    border:
        1px solid
        rgba(11,31,58,.06);

    border-radius: 8px;

    background: #fff;

    text-align: left;
}


.ipad-chapter > span {
    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    border-radius: 6px;

    background: #edf3f5;

    color: #748396;

    font-size: 5px;
    font-weight: 900;
}


.ipad-chapter > div {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


.ipad-chapter small {
    color: #8b98a8;

    font-size: 4px;
    font-weight: 800;
}


.ipad-chapter strong {
    overflow: hidden;

    color: #34465d;

    font-size: 6px;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.ipad-chapter.is-complete > span {
    background:
        rgba(13,187,195,.1);

    color: #0a9ca5;
}


.ipad-chapter.is-active {
    border-color:
        rgba(13,187,195,.32);

    background:
        rgba(13,187,195,.055);

    box-shadow:
        0 4px 12px
        rgba(13,187,195,.07);
}


.ipad-chapter.is-active > span {
    background: #0dbbc3;

    color: #fff;
}


.ipad-chapter.is-active strong {
    color: #0b1f3a;
}


/* =========================
   RIGHT — LESSON
   ========================= */

.ipad-lesson {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 0;

    gap: 7px;
}


/* Video */

.ipad-video {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 8.4;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 10px;

    background:
        radial-gradient(
            circle at 72% 22%,
            rgba(64,224,208,.18),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #06182e,
            #0b2a49
        );

    box-shadow:
        0 8px 20px
        rgba(7,28,54,.13);
}


.ipad-video-equation {
    position: absolute;

    top: 20%;
    left: 50%;

    display: flex;
    flex-direction: column;

    align-items: center;

    transform:
        translateX(-50%);

    color: #fff;
}


.ipad-video-equation small {
    color:
        rgba(255,255,255,.55);

    font-size: 4px;
    font-weight: 800;

    letter-spacing: .7px;
}


.ipad-video-equation strong {
    margin-top: 3px;

    color: #40e0d0;

    font-family:
        Georgia,
        serif;

    font-size: 20px;
}


/* Play */

.ipad-play {
    position: absolute;

    top: 53%;
    left: 50%;

    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    padding: 0 0 0 2px;

    transform:
        translate(-50%, -50%);

    border:
        1px solid
        rgba(255,255,255,.55);

    border-radius: 50%;

    background:
        rgba(255,255,255,.94);

    color: #0dbbc3;

    font-size: 9px;

    pointer-events: none;

    box-shadow:
        0 5px 15px
        rgba(0,0,0,.18);
}


/* Video controls */

.ipad-video-controls {
    position: absolute;

    right: 8px;
    bottom: 7px;
    left: 8px;

    display: flex;
    align-items: center;

    gap: 5px;

    color:
        rgba(255,255,255,.7);

    font-family:
        Arial,
        sans-serif;

    font-size: 4px;
}


.ipad-video-controls > div {
    position: relative;

    height: 2px;

    flex: 1;

    overflow: hidden;

    border-radius: 99px;

    background:
        rgba(255,255,255,.2);
}


.ipad-video-controls i {
    position: absolute;

    inset:
        0 auto 0 0;

    width: 42%;

    border-radius: inherit;

    background: #40e0d0;

    animation:
        ipadVideoProgress
        4.5s ease-in-out
        infinite alternate;
}


@keyframes ipadVideoProgress {

    from {
        width: 38%;
    }

    to {
        width: 53%;
    }

}


/* Lesson description */

.ipad-lesson-info {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 8px;

    text-align: left;
}


.ipad-lesson-info > div {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


.ipad-lesson-info small {
    color: #0dbbc3;

    font-size: 4px;
    font-weight: 900;

    letter-spacing: .4px;
}


.ipad-lesson-info strong {
    margin-top: 1px;

    color: #0b1f3a;

    font-size: 8px;
    font-weight: 900;
}


.ipad-lesson-info span {
    overflow: hidden;

    margin-top: 2px;

    color: #8492a3;

    font-size: 4px;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.ipad-lesson-info > b {
    flex-shrink: 0;

    padding: 4px 6px;

    border-radius: 6px;

    background:
        rgba(13,187,195,.08);

    color: #0a9ca5;

    font-size: 6px;
}


/* Bottom topics */

.ipad-topic-row {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 4px;

    margin-top: auto;
}


.ipad-mini-topic {
    display: flex;

    align-items: center;

    gap: 4px;

    min-width: 0;

    padding: 5px;

    border:
        1px solid
        rgba(11,31,58,.06);

    border-radius: 7px;

    background: #fff;
}


.ipad-mini-topic span {
    width: 16px;
    height: 16px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 5px;

    background: #edf3f5;

    color: #718096;

    font-size: 4px;
    font-weight: 900;
}


.ipad-mini-topic strong {
    overflow: hidden;

    color: #46576c;

    font-size: 5px;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.ipad-mini-topic.is-done span {
    background:
        rgba(13,187,195,.1);

    color: #0a9ca5;
}


.ipad-mini-topic.is-current {
    border-color:
        rgba(13,187,195,.3);

    background:
        rgba(13,187,195,.05);
}


.ipad-mini-topic.is-current span {
    background: #0dbbc3;

    color: #fff;
}


/* Don't inherit generic legacy DIV styling */

.spedia-ipad-screen
.ipad-topbar,
.spedia-ipad-screen
.ipad-learning-layout,
.spedia-ipad-screen
.ipad-brand,
.spedia-ipad-screen
.ipad-brand > div,
.spedia-ipad-screen
.ipad-progress,
.spedia-ipad-screen
.ipad-chapter,
.spedia-ipad-screen
.ipad-chapter > div,
.spedia-ipad-screen
.ipad-video,
.spedia-ipad-screen
.ipad-video-equation,
.spedia-ipad-screen
.ipad-video-controls,
.spedia-ipad-screen
.ipad-video-controls > div,
.spedia-ipad-screen
.ipad-lesson-info,
.spedia-ipad-screen
.ipad-lesson-info > div,
.spedia-ipad-screen
.ipad-topic-row,
.spedia-ipad-screen
.ipad-mini-topic {
    height: auto;
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .ipad-video-controls i {
        animation: none;
    }

}



/* =========================================================
   SPEDIA UNI — PUBLIC COURSE CATALOG
   ========================================================= */

.catalog-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 80% 5%,
            rgba(13, 187, 195, .07),
            transparent 28%
        ),
        #ffffff;
}

.catalog-main {
    overflow: hidden;
}

.catalog-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* Header */

.catalog-back-link {
    color: #536273;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.catalog-back-link:hover {
    color: #0dbbc3;
}


/* Hero */

.catalog-hero {
    position: relative;
    padding: 82px 0 64px;
    overflow: hidden;
}

.catalog-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.catalog-hero-glow--one {
    width: 340px;
    height: 340px;
    top: -190px;
    right: -80px;
    background: rgba(13, 187, 195, .08);
}

.catalog-hero-glow--two {
    width: 220px;
    height: 220px;
    bottom: -150px;
    left: 8%;
    background: rgba(64, 224, 208, .07);
}

.catalog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 16px;

    color: #0a9ca5;
    font-size: 13px;
    font-weight: 800;
}

.catalog-eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0dbbc3;
    box-shadow: 0 0 0 6px rgba(13, 187, 195, .1);
}

.catalog-hero h1 {
    max-width: 720px;
    margin: 0;

    color: #172536;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1.8px;
}

.catalog-hero h1 span {
    color: #0dbbc3;
}

.catalog-hero > .catalog-container > p {
    max-width: 590px;
    margin: 19px 0 0;

    color: #718096;
    font-size: 17px;
    line-height: 1.9;
}


/* Search */

.catalog-search {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1.25fr auto;
    align-items: end;
    gap: 12px;

    max-width: 920px;
    margin-top: 38px;
    padding: 13px;

    border: 1px solid #e6edef;
    border-radius: 20px;

    background: rgba(255, 255, 255, .92);

    box-shadow:
        0 18px 55px rgba(31, 53, 72, .08);
}

.catalog-university-select,
.catalog-search-input {
    min-width: 0;
}

.catalog-university-select label,
.catalog-search-input label {
    display: block;
    margin: 0 8px 7px;

    color: #8996a5;
    font-size: 11px;
    font-weight: 800;
}

.catalog-university-select select,
.catalog-search-control {
    width: 100%;
    height: 52px;

    border: 1px solid #e4eaed;
    border-radius: 13px;

    background: #f8fafb;
}

.catalog-university-select select {
    padding: 0 15px;

    color: #26384a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    outline: none;
}

.catalog-search-control {
    position: relative;
    display: flex;
    align-items: center;
}

.catalog-search-control svg {
    position: absolute;
    right: 15px;

    width: 19px;
    height: 19px;

    color: #91a0ad;
}

.catalog-search-control input {
    width: 100%;
    height: 100%;

    padding: 0 45px 0 14px;

    border: 0;
    outline: 0;
    background: transparent;

    color: #26384a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
}

.catalog-search-control input::placeholder {
    color: #aab4bd;
}

.catalog-search-button {
    height: 52px;
    min-width: 100px;

    padding: 0 24px;

    border: 0;
    border-radius: 13px;

    background: #0dbbc3;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 9px 24px rgba(13, 187, 195, .24);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.catalog-search-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 30px rgba(13, 187, 195, .3);
}


/* Results */

.catalog-results {
    min-height: 400px;
    padding: 42px 0 100px;

    border-top: 1px solid #eef2f4;

    background: #f8fafb;
}

.catalog-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 27px;
}

.catalog-results-head > div:first-child > span {
    display: block;
    margin-bottom: 4px;

    color: #93a0ac;
    font-size: 12px;
    font-weight: 700;
}

.catalog-results-head h2 {
    margin: 0;

    color: #172536;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 900;
}

.catalog-count {
    display: flex;
    align-items: baseline;
    gap: 5px;

    color: #81909e;
}

.catalog-count strong {
    color: #0dbbc3;
    font-size: 24px;
    font-weight: 900;
}

.catalog-count span {
    font-size: 13px;
    font-weight: 700;
}


/* Course grid */

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

.course-card {
    overflow: hidden;

    border: 1px solid #e5ebee;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 7px 24px rgba(34, 53, 71, .045);

    opacity: 0;
    transform: translateY(12px);

    animation:
        catalogCardIn .45s ease forwards;

    animation-delay: var(--catalog-delay, 0ms);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.course-card:hover {
    transform: translateY(-5px);

    border-color: rgba(13, 187, 195, .25);

    box-shadow:
        0 18px 45px rgba(34, 53, 71, .09);
}

@keyframes catalogCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Image */

.course-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    background: #eef3f4;
}

.course-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .4s ease;
}

.course-card:hover .course-card-media img {
    transform: scale(1.035);
}

.course-card-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(64, 224, 208, .25),
            transparent 35%
        ),
        #172536;
}

.course-card-placeholder span {
    color: rgba(255, 255, 255, .22);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 4px;
}

.course-category {
    position: absolute;
    right: 13px;
    bottom: 12px;

    padding: 6px 10px;

    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;

    background: rgba(17, 34, 48, .72);
    backdrop-filter: blur(8px);

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
}


/* Card body */

.course-card-body {
    padding: 19px;
}

.course-university {
    overflow: hidden;

    margin-bottom: 7px;

    color: #0a9ca5;

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.course-card h3 {
    min-height: 52px;

    margin: 0;

    color: #1c2d3e;

    font-size: 18px;
    line-height: 1.45;
    font-weight: 900;
}

.course-description {
    overflow: hidden;

    height: 39px;
    margin: 7px 0 0;

    color: #84919e;

    font-size: 12px;
    line-height: 1.65;
}


/* Pricing */

.course-prices {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;

    min-height: 70px;

    margin-top: 17px;
    padding-top: 15px;

    border-top: 1px solid #edf1f3;
}

.course-price-main span {
    display: block;
    margin-bottom: 3px;

    color: #929da7;

    font-size: 10px;
    font-weight: 700;
}

.course-price-main strong {
    color: #172536;

    font-size: 25px;
    line-height: 1;
    font-weight: 900;
}

.course-price-main small {
    color: #172536;
    font-size: 11px;
    font-weight: 800;
}

.course-price-monthly {
    padding: 6px 9px;

    border-radius: 8px;

    background: rgba(13, 187, 195, .07);

    color: #75838f;

    font-size: 10px;
    font-weight: 700;
}

.course-price-monthly strong {
    color: #0a9ca5;
    font-weight: 900;
}

.course-price-unavailable {
    margin-top: 17px;
    padding: 15px 0;

    border-top: 1px solid #edf1f3;

    color: #9aa6af;

    font-size: 12px;
    font-weight: 700;
}


/* CTA */

.course-explore-button {
    width: 100%;
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 16px;
    padding: 0 15px;

    border-radius: 11px;

    background: #f2f7f8;

    color: #26384a;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;

    transition:
        background .2s ease,
        color .2s ease;
}

.course-explore-button svg {
    width: 17px;
    height: 17px;
}

.course-explore-button:hover {
    background: #0dbbc3;
    color: #ffffff;
}


/* Empty / error */

.catalog-state {
    max-width: 500px;

    margin: 70px auto;
    padding: 45px 25px;

    text-align: center;
}

.catalog-state-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    margin: 0 auto 17px;

    border-radius: 50%;

    background: rgba(13, 187, 195, .1);
    color: #0dbbc3;

    font-size: 25px;
    font-weight: 900;
}

.catalog-state h2 {
    margin: 0;

    color: #172536;

    font-size: 22px;
    font-weight: 900;
}

.catalog-state p {
    margin: 8px 0 20px;

    color: #83909b;

    font-size: 14px;
}

.catalog-state a {
    display: inline-flex;

    padding: 10px 17px;

    border-radius: 10px;

    background: #0dbbc3;
    color: #ffffff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;
}


/* Tablet */

@media (max-width: 900px) {

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

    .catalog-search {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-search-button {
        grid-column: 1 / -1;
    }

}


/* Mobile */

@media (max-width: 620px) {

    .catalog-container {
        width: min(100% - 28px, 1180px);
    }

    .catalog-hero {
        padding: 54px 0 40px;
    }

    .catalog-hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .catalog-hero > .catalog-container > p {
        font-size: 14px;
    }

    .catalog-search {
        grid-template-columns: 1fr;

        margin-top: 28px;
        padding: 11px;

        border-radius: 17px;
    }

    .catalog-search-button {
        grid-column: auto;
        width: 100%;
    }

    .catalog-results {
        padding: 31px 0 70px;
    }

    .catalog-results-head {
        align-items: center;
    }

    .catalog-results-head h2 {
        font-size: 20px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .course-card {
        border-radius: 17px;
    }

    .course-card-body {
        padding: 17px;
    }

    .course-card h3 {
        min-height: 0;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .course-card {
        opacity: 1;
        transform: none;
        animation: none;
    }

}


/* =========================================================
   PUBLIC CATALOG — MOBILE COMPACT CARDS
   ========================================================= */

@media (max-width: 600px) {

    .catalog-results {
        padding: 28px 0 60px;
    }

    .catalog-results-head {
        margin-bottom: 18px;
    }

    .catalog-results-head h2 {
        font-size: 20px;
        line-height: 1.35;
    }

    .catalog-grid {
        gap: 16px;
    }

    .course-card {
        border-radius: 17px;
    }

    .course-card-media {
        aspect-ratio: auto;
        height: 180px;
    }

    .course-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .course-category {
        right: 12px;
        bottom: 10px;
        padding: 5px 9px;
        font-size: 10px;
    }

    .course-card-body {
        padding: 15px 16px 16px;
    }

    .course-university {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .course-card h3 {
        min-height: 0;
        margin: 0 0 3px;
        font-size: 18px;
        line-height: 1.35;
    }

    .course-description {
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 1.4;
    }

    .course-prices {
        margin-top: 12px;
        padding-top: 12px;
    }

    .course-explore-button {
        margin-top: 12px;
        min-height: 46px;
    }

}



/* =========================================================
   PUBLIC CATALOG — FINAL MOBILE CARD COMPACT
   ========================================================= */

@media (max-width: 767px) {

    .course-card-body {
        padding: 13px 16px 14px;
    }

    .course-university {
        margin-bottom: 2px;
    }

    .course-card h3 {
        min-height: 0;
        margin: 0;
        line-height: 1.25;
    }

    .course-description {
        height: auto;
        min-height: 0;
        margin: 5px 0 0;
        line-height: 1.35;
    }

    .course-prices {
        min-height: 0;
        margin-top: 10px;
        padding-top: 10px;
        gap: 8px;
    }

    .course-price-main span {
        margin-bottom: 2px;
    }

    .course-explore-button {
        margin-top: 10px;
        min-height: 42px;
    }
}


/* =========================================================
   PUBLIC CATALOG — CATEGORY + LIVE FILTER
   ========================================================= */

.catalog-category-filter {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.catalog-category-chip {
    appearance: none;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #475569;
    border-radius: 999px;
    padding: 9px 17px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.catalog-category-chip:hover {
    border-color: #21c7c7;
    color: #159f9f;
    transform: translateY(-1px);
}

.catalog-category-chip.active {
    background: #18bcbc;
    border-color: #18bcbc;
    color: #ffffff;
}

.course-card[hidden] {
    display: none !important;
}

.catalog-live-empty[hidden] {
    display: none !important;
}

@media (max-width: 767px) {

    .catalog-category-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -16px;
        margin-right: -16px;
        padding: 2px 16px 10px;
        gap: 8px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .catalog-category-filter::-webkit-scrollbar {
        display: none;
    }

    .catalog-category-chip {
        flex: 0 0 auto;
        padding: 9px 15px;
        font-size: 13px;
    }
}

/* =========================================================
   Course Detail — Arabic CTA alignment + content type colors
   ========================================================= */

/* Arabic navy subscription card */
.course-access-card {
    text-align: center;
    align-items: center;
}

.course-access-card h2,
.course-access-card p,
.course-access-kicker,
.course-access-price,
.course-access-note {
    width: 100%;
    text-align: center;
}

.course-access-features {
    width: 100%;
    justify-items: center;
}

.course-access-feature {
    justify-content: center;
    text-align: center;
}

.course-access-button {
    width: 100%;
}


/* Content type visual language */

.course-topic-icon {
    transition:
        transform .18s ease,
        background .18s ease,
        color .18s ease;
}

/* VIDEO — Spedia turquoise */
.course-topic[data-content-type="video"] .course-topic-icon,
.course-topic-type-video .course-topic-icon {
    background: rgba(13, 187, 195, .11);
    color: #07939a;
}

/* PDF / Notes — red */
.course-topic[data-content-type="pdf"] .course-topic-icon,
.course-topic-type-pdf .course-topic-icon {
    background: rgba(220, 38, 38, .09);
    color: #dc2626;
}

/* QUIZ — purple */
.course-topic[data-content-type="mcq"] .course-topic-icon,
.course-topic-type-mcq .course-topic-icon {
    background: rgba(124, 58, 237, .09);
    color: #7c3aed;
}

button.course-topic:hover .course-topic-icon {
    transform: scale(1.06);
}


/* =========================================
   UNIVERSITY SELECTOR CARDS
   ========================================= */

.catalog-universities {
    margin-bottom: 34px;
}

.catalog-universities-head {
    margin-bottom: 17px;
}

.catalog-universities-head > span {
    display: block;
    margin-bottom: 5px;

    color: var(--turquoise-dark);

    font-size: 12px;
    font-weight: 800;
}

.catalog-universities-head h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(24px, 5vw, 34px);
    line-height: 1.2;
}

.catalog-universities-head p {
    margin: 8px 0 0;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.7;
}

.catalog-university-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.catalog-university-card {
    min-height: 88px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 14px;

    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.98),
            rgba(245,252,252,.96)
        );

    box-shadow:
        0 8px 28px rgba(11, 31, 58, 0.07);

    color: var(--navy);
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;

    cursor: pointer;
}

.catalog-university-card:hover {
    transform: translateY(-3px);

    border-color: rgba(13,187,195,.35);

    box-shadow:
        0 14px 35px rgba(11,31,58,.11);
}

.catalog-university-card-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: rgba(13,187,195,.10);

    color: var(--turquoise-dark);

    font-size: 16px;
    font-weight: 900;
}

.catalog-university-card-content {
    min-width: 0;

    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.catalog-university-card-content strong {
    overflow: hidden;

    color: var(--navy);

    font-size: 14px;
    font-weight: 900;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-university-card-content small {
    color: var(--gray);

    font-size: 10px;
    font-weight: 700;
}

.catalog-university-card-arrow {
    color: var(--turquoise);

    font-size: 20px;
    font-weight: 900;
}


/* =========================================
   CLICKABLE COURSE MEDIA
   ========================================= */

.course-card-media-link {
    position: absolute;
    inset: 0;

    display: block;

    color: inherit;
    text-decoration: none;

    cursor: pointer;
}

.course-card-media-link img,
.course-card-media-link .course-card-placeholder {
    width: 100%;
    height: 100%;

    cursor: pointer;
}



@media (max-width: 600px) {

    .catalog-university-grid {
        grid-template-columns: 1fr;
    }

    .catalog-university-card {
        min-height: 82px;
    }

}

/* =========================================
   CATALOG LOADING STATE
   ========================================= */

.catalog-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 18, 25, 0.34);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.catalog-loading.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.catalog-loading-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.16),
        0 4px 14px rgba(0, 0, 0, 0.08);
    color: #17212b;
    font-size: 14px;
    font-weight: 700;
    direction: rtl;
}

.catalog-loading-spinner {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2.5px solid rgba(23, 33, 43, 0.14);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: catalog-loader-spin 0.7s linear infinite;
}

@keyframes catalog-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.catalog-university-card.is-loading {
    pointer-events: none;
}

.catalog-university-card.is-loading .catalog-university-card-arrow {
    opacity: 0.45;
}

.catalog-is-loading {
    cursor: progress;
}

@media (prefers-reduced-motion: reduce) {
    .catalog-loading {
        transition: none;
    }

    .catalog-loading-spinner {
        animation: none;
    }
}


/* =========================================
   COURSE CATALOG — HEADER SPACING FIX
   ========================================= */

.catalog-page .catalog-hero {
    padding-top: 130px;
}

@media (max-width: 480px) {
    .catalog-page .catalog-hero {
        padding-top: 120px;
    }
}


/* =========================================
   COURSE CATALOG — HEADER SPACING FIX
   ========================================= */

.catalog-page .catalog-hero {
    padding-top: 130px;
}

@media (max-width: 480px) {
    .catalog-page .catalog-hero {
        padding-top: 120px;
    }
}


/* ==========================================================
   Shared authenticated account navigation
   ========================================================== */

.nav-account {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-account .nav-login {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.nav-user {
    position: relative;
}

.nav-user-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font: inherit;
    cursor: pointer;
    direction: ltr;
}

.nav-user-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-user-status {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #21d6c2;
    box-shadow: 0 0 0 4px rgba(33, 214, 194, 0.12);
}

.nav-user-chevron {
    opacity: 0.65;
    font-size: 11px;
}

.nav-user-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 2000;
    min-width: 210px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: #111a20;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
    direction: rtl;
}

.nav-user-menu-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.nav-user-menu strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 14px;
    direction: ltr;
    text-align: right;
}

.nav-logout {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.82);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.nav-logout:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .nav-user-button {
        padding: 8px 10px;
        font-size: 12px;
    }

    .nav-user-menu {
        left: 0;
        min-width: 190px;
    }
}


/* ==========================================================
   Account icon navigation v2
   ========================================================== */

.nav-account {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-account-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.9);

    cursor: pointer;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.nav-account-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(49, 214, 198, 0.35);
    transform: translateY(-1px);
}

.nav-account-button:focus-visible {
    outline: 2px solid rgba(49, 214, 198, 0.55);
    outline-offset: 3px;
}

.nav-user-menu {
    position: absolute;

    top: calc(100% + 12px);
    left: 0;

    z-index: 3000;

    width: 240px;

    padding: 10px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;

    background: #10191f;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35);

    direction: rtl;
}

.nav-account-menu-header {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 8px 7px 12px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);
}

.nav-account-menu-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(49, 214, 198, 0.1);
    color: #31d6c6;
}

.nav-user-menu-label {
    display: block;

    margin-bottom: 3px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 11px;
}

.nav-user-menu strong {
    display: block;

    margin: 0;

    color: rgba(255, 255, 255, 0.94);

    font-size: 13px;
    font-weight: 600;

    direction: ltr;
    text-align: right;
}

.nav-logout {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    margin-top: 7px;
    padding: 10px 9px;

    border: 0;
    border-radius: 10px;

    background: transparent;

    color: rgba(255, 255, 255, 0.68);

    font: inherit;
    font-size: 12px;

    cursor: pointer;

    transition:
        background 150ms ease,
        color 150ms ease;
}

.nav-logout:hover {
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
}

.nav-user[hidden],
.nav-account [hidden] {
    display: none !important;
}

@media (max-width: 640px) {

    .nav-account-button {
        width: 38px;
        height: 38px;
    }

    .nav-user-menu {
        width: 220px;
    }

}


/* ==========================================================
   Account button — final visibility override
   ========================================================== */

.nav-account [data-auth-user] {
    position: relative;
}

.nav-account-button {
    box-sizing: border-box !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;

    border: 1px solid rgba(49, 214, 198, 0.32) !important;
    border-radius: 50% !important;

    background: rgba(49, 214, 198, 0.10) !important;

    color: #31d6c6 !important;

    cursor: pointer;

    line-height: 1;

    box-shadow:
        0 0 0 3px rgba(49, 214, 198, 0.04);

    transition:
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.nav-account-button svg {
    display: block !important;

    width: 21px !important;
    height: 21px !important;

    min-width: 21px;

    color: #31d6c6 !important;

    stroke: #31d6c6 !important;

    opacity: 1 !important;

    visibility: visible !important;
}

.nav-account-button:hover {
    background: rgba(49, 214, 198, 0.16) !important;

    border-color: rgba(49, 214, 198, 0.55) !important;

    box-shadow:
        0 0 0 4px rgba(49, 214, 198, 0.07);

    transform: translateY(-1px);
}

.nav-account-button:active {
    transform: translateY(0);
}


/*
 * Auth state:
 * logged out  -> show login
 * logged in   -> show account
 */

.nav-account [data-auth-login][hidden],
.nav-account [data-auth-user][hidden] {
    display: none !important;
}


/* Account dropdown */

.nav-account .nav-user-menu {
    color: #ffffff;
}

.nav-account .nav-user-menu[hidden] {
    display: none !important;
}


@media (max-width: 640px) {

    .nav-account-button {
        width: 38px !important;
        height: 38px !important;

        min-width: 38px !important;
        min-height: 38px !important;
    }

}


/* ==========================================================
   Authentication shell / no-flash rendering
   ========================================================== */

/*
 * When a stored session exists, never flash the guest login
 * action while the backend profile is being verified.
 */
html.auth-pending [data-auth-login],
html.auth-authenticated [data-auth-login] {
    display: none !important;
}

/*
 * While verification is pending, show the authenticated
 * account shell immediately.
 */
html.auth-pending [data-auth-user],
html.auth-authenticated [data-auth-user] {
    display: block !important;
}

html.auth-guest [data-auth-user] {
    display: none !important;
}

html.auth-guest [data-auth-login] {
    display: inline-flex !important;
}


/* ==========================================================
   Authenticated account status indicator
   ========================================================== */

.nav-account-button {
    position: relative !important;
}

.nav-account-online {
    position: absolute;

    right: -1px;
    bottom: -1px;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #35d07f;

    border: 2px solid #10191f;

    box-sizing: content-box;

    box-shadow:
        0 0 0 1px rgba(53, 208, 127, 0.12);
}

/*
 * Slightly more subtle on small screens.
 */
@media (max-width: 640px) {
    .nav-account-online {
        width: 9px;
        height: 9px;
    }
}


/* ==========================================================
   Stable auth shell — prevent account avatar flashing
   ========================================================== */

/*
 * Authentication state is determined by the tiny bootstrap
 * script in <head> before the body is painted.
 *
 * Do not rely on the HTML hidden attribute for the account
 * shell, otherwise the avatar disappears during every page
 * navigation until auth.js executes.
 */

html.auth-pending .nav-account [data-auth-user],
html.auth-authenticated .nav-account [data-auth-user] {
    display: block !important;
}

html.auth-pending .nav-account [data-auth-login],
html.auth-authenticated .nav-account [data-auth-login] {
    display: none !important;
}

html.auth-guest .nav-account [data-auth-user] {
    display: none !important;
}

html.auth-guest .nav-account [data-auth-login] {
    display: inline-flex !important;
}


/* ==========================================================
   Navbar account separation
   ========================================================== */

.nav-account {
    position: relative;

    /* Visually separate account controls from navigation */
    margin-inline-start: 14px;
    padding-inline-start: 16px;
}

/* Subtle separator between navigation and account */
.nav-account::before {
    content: "";

    position: absolute;

    inset-inline-start: 0;
    top: 50%;

    width: 1px;
    height: 22px;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.10);
}


/* Mobile: keep it cleaner and more compact */
@media (max-width: 640px) {

    .nav-account {
        margin-inline-start: 8px;
        padding-inline-start: 10px;
    }

    .nav-account::before {
        height: 18px;
        opacity: 0.7;
    }

}


/* ==========================================================
   Spedia Uni — Website OTP Login
   ========================================================== */

.login-page {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(42, 206, 180, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 90%,
            rgba(82, 109, 255, 0.08),
            transparent 34%
        ),
        #08111f;

    color: #f7f9fc;
}

.login-shell {
    width: min(
        calc(100% - 32px),
        460px
    );

    min-height: 100vh;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;

    padding: 42px 0;
    box-sizing: border-box;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 0 auto 26px;

    color: #ffffff;
    text-decoration: none;
}

.login-brand-mark {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #2bd3b5,
            #23a995
        );

    color: #07131e;

    font-weight: 900;
    font-size: 19px;
}

.login-brand-name {
    direction: ltr;

    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.login-card {
    position: relative;

    padding: 34px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 24px;

    background:
        rgba(13, 25, 42, 0.92);

    box-shadow:
        0 24px 80px
        rgba(0, 0, 0, 0.28);

    backdrop-filter: blur(16px);
}

.login-heading {
    margin-bottom: 28px;
}

.login-eyebrow {
    display: inline-block;

    margin-bottom: 9px;

    color: #35d4b7;

    font-size: 13px;
    font-weight: 700;
}

.login-heading h1 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size:
        clamp(
            28px,
            6vw,
            36px
        );

    line-height: 1.2;
}

.login-heading p {
    margin: 0;

    color:
        rgba(
            235,
            242,
            250,
            0.65
        );

    font-size: 14px;
    line-height: 1.9;
}

.login-heading strong {
    color: #ffffff;
    font-weight: 700;
}

.login-success-icon {
    width: 38px;
    height: 38px;

    margin-bottom: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(43, 211, 181, 0.12);

    border:
        1px solid
        rgba(43, 211, 181, 0.25);

    color: #35d4b7;

    font-weight: 900;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-label {
    color:
        rgba(
            245,
            248,
            252,
            0.82
        );

    font-size: 13px;
    font-weight: 700;
}

.login-phone-field {
    height: 56px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.045);

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.login-phone-field:focus-within {
    border-color:
        rgba(43, 211, 181, 0.65);

    box-shadow:
        0 0 0 3px
        rgba(43, 211, 181, 0.08);
}

.login-country-code {
    height: 28px;

    padding: 0 15px;

    display: inline-flex;
    align-items: center;

    border-inline-end:
        1px solid
        rgba(255, 255, 255, 0.10);

    color: #35d4b7;

    font-size: 14px;
    font-weight: 800;
}

.login-phone-field input {
    width: 100%;
    height: 100%;

    padding: 0 16px;

    box-sizing: border-box;

    border: 0;
    outline: 0;

    background: transparent;

    color: #ffffff;

    direction: ltr;
    text-align: left;

    font: inherit;
    font-size: 17px;
    letter-spacing: 0.7px;
}

.login-phone-field input::placeholder,
.login-otp-input::placeholder {
    color:
        rgba(
            255,
            255,
            255,
            0.25
        );
}

.login-otp-input {
    width: 100%;
    height: 62px;

    box-sizing: border-box;

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius: 14px;

    outline: 0;

    background:
        rgba(255, 255, 255, 0.045);

    color: #ffffff;

    direction: ltr;
    text-align: center;

    font: inherit;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 10px;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.login-otp-input:focus {
    border-color:
        rgba(43, 211, 181, 0.65);

    box-shadow:
        0 0 0 3px
        rgba(43, 211, 181, 0.08);
}

.login-feedback {
    min-height: 20px;

    color: #ff8585;

    font-size: 12px;
    line-height: 1.6;
}

.login-primary-button {
    position: relative;

    width: 100%;
    min-height: 54px;

    margin-top: 2px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #2bd3b5,
            #20b39b
        );

    color: #06131d;

    font: inherit;
    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 150ms ease,
        filter 150ms ease,
        opacity 150ms ease;
}

.login-primary-button:hover:not(:disabled) {
    transform:
        translateY(-1px);

    filter:
        brightness(1.04);
}

.login-primary-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.login-button-spinner {
    width: 16px;
    height: 16px;

    border:
        2px solid
        rgba(6, 19, 29, 0.25);

    border-top-color:
        #06131d;

    border-radius: 50%;

    animation:
        login-spin
        700ms linear infinite;
}

@keyframes login-spin {
    to {
        transform:
            rotate(360deg);
    }
}

.login-secondary-actions {
    margin-top: 5px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
}

.login-link-button {
    padding: 7px 0;

    border: 0;

    background: transparent;

    color:
        rgba(
            235,
            242,
            250,
            0.70
        );

    font: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.login-link-button:hover:not(:disabled) {
    color: #35d4b7;
}

.login-link-button:disabled {
    cursor: default;

    color:
        rgba(
            235,
            242,
            250,
            0.35
        );
}

[data-login-countdown] {
    display: inline-block;

    margin-inline-start: 4px;

    direction: ltr;

    font-variant-numeric:
        tabular-nums;
}

.login-legal {
    margin: 20px auto 0;

    color:
        rgba(
            230,
            238,
            248,
            0.42
        );

    text-align: center;

    font-size: 11px;
    line-height: 1.8;
}

.login-legal a {
    color:
        rgba(
            230,
            238,
            248,
            0.66
        );

    text-decoration: none;
}

.login-legal a:hover {
    color: #35d4b7;
}


@media (max-width: 520px) {

    .login-shell {
        width:
            min(
                calc(100% - 24px),
                460px
            );

        padding:
            28px 0;
    }

    .login-card {
        padding:
            27px 20px;

        border-radius:
            20px;
    }

    .login-brand {
        margin-bottom:
            20px;
    }

}


/* ==========================================================
   Spedia Uni — Light International OTP Login
   ========================================================== */

.login-page {
    background:
        radial-gradient(
            circle at 82% 8%,
            rgba(39, 196, 169, 0.10),
            transparent 31%
        ),
        radial-gradient(
            circle at 10% 92%,
            rgba(83, 113, 255, 0.055),
            transparent 34%
        ),
        #f7f9fb;

    color: #14212b;
}

.login-brand {
    color: #172630;
}

.login-card {
    border: 1px solid #e8edf1;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 20px 55px
        rgba(21, 38, 52, 0.08);
}

.login-heading h1 {
    color: #14212b;
}

.login-heading p {
    color: #697984;
}

.login-heading strong {
    color: #172630;
}

.login-label {
    color: #354650;
}

.login-phone-field {
    overflow: visible;

    border: 1px solid #dce4e8;

    background: #ffffff;
}

.login-phone-field:focus-within {
    border-color: #29bda5;

    box-shadow:
        0 0 0 3px
        rgba(41, 189, 165, 0.10);
}

.login-phone-field input {
    min-width: 0;

    color: #172630;
}

.login-phone-field input::placeholder,
.login-otp-input::placeholder {
    color: #aab5bc;
}

.login-otp-input {
    border: 1px solid #dce4e8;

    background: #ffffff;

    color: #172630;
}

.login-otp-input:focus {
    border-color: #29bda5;

    box-shadow:
        0 0 0 3px
        rgba(41, 189, 165, 0.10);
}

.login-link-button {
    color: #687983;
}

.login-link-button:hover:not(:disabled) {
    color: #149b86;
}


/* Country picker */

.login-country-picker {
    position: relative;

    flex: 0 0 auto;

    height: 100%;
}

.login-country-trigger {
    height: 100%;

    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 0;
    border-inline-end:
        1px solid #e3e9ec;

    background: transparent;

    color: #172630;

    font: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    white-space: nowrap;
}

.login-country-trigger:hover {
    background: #f7faf9;
}

.login-country-chevron {
    margin-inline-start: 1px;

    color: #8a989f;

    font-size: 11px;

    transition:
        transform 150ms ease;
}

.login-country-trigger[
    aria-expanded="true"
] .login-country-chevron {
    transform: rotate(180deg);
}

.login-country-menu {
    position: absolute;

    z-index: 50;

    top: calc(100% + 9px);
    inset-inline-start: 0;

    width: min(350px, calc(100vw - 48px));

    overflow: hidden;

    border: 1px solid #e1e8eb;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 18px 48px
        rgba(22, 38, 49, 0.14);
}

.login-country-search-wrap {
    padding: 11px;

    border-bottom: 1px solid #edf1f3;

    background: #ffffff;
}

.login-country-search {
    width: 100%;
    height: 42px;

    box-sizing: border-box;

    padding: 0 13px;

    border: 1px solid #dfe6e9;
    border-radius: 10px;

    outline: 0;

    background: #f8fafb;

    color: #172630;

    font: inherit;
    font-size: 13px;
}

.login-country-search:focus {
    border-color: #35bea8;

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(41, 189, 165, 0.08);
}

.login-country-list {
    max-height: 310px;

    overflow-y: auto;

    padding: 6px;
}

.login-country-option {
    width: 100%;

    padding: 10px 9px;

    display: grid;

    grid-template-columns:
        28px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 9px;

    border: 0;
    border-radius: 10px;

    background: transparent;

    color: #172630;

    text-align: start;

    font: inherit;

    cursor: pointer;
}

.login-country-option:hover {
    background: #f4f8f7;
}

.login-country-option.is-selected {
    background:
        rgba(41, 189, 165, 0.09);
}

.login-country-option-flag {
    font-size: 20px;
    line-height: 1;
}

.login-country-option-name {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.login-country-option-name strong {
    overflow: hidden;

    color: #172630;

    font-size: 13px;
    font-weight: 750;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.login-country-option-name small {
    overflow: hidden;

    color: #8a979f;

    font-size: 10px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.login-country-option-code {
    color: #4f626d;

    font-size: 12px;
    font-weight: 800;
}

.login-country-empty {
    padding: 24px 12px;

    color: #84939b;

    text-align: center;

    font-size: 12px;
}


/* Light feedback / OTP details */

.login-feedback {
    color: #d34b4b;
}

.login-success-icon {
    background:
        rgba(41, 189, 165, 0.10);

    border:
        1px solid
        rgba(41, 189, 165, 0.20);

    color: #169d87;
}


@media (max-width: 520px) {

    .login-card {
        padding: 26px 20px;
    }

    .login-country-trigger {
        padding: 0 10px;
    }

    .login-country-menu {
        width:
            min(
                330px,
                calc(100vw - 64px)
            );
    }

}


/* ==========================================================
   OTP Login final UI refinements
   ========================================================== */

/* Real Spedia Uni logo */
.login-brand-logo {
    display: block;

    width: auto;
    height: 44px;

    max-width: 190px;

    object-fit: contain;
}


/*
 * Phone numbers are inherently LTR.
 *
 * Force visual order:
 *
 * [country] [phone number]
 *
 * regardless of the Arabic RTL document direction.
 */
.login-phone-field {
    direction: ltr;
}

.login-country-picker {
    order: 0;
}

.login-phone-field > input {
    order: 1;

    direction: ltr;
    text-align: left;
}


/* Country menu itself remains Arabic-friendly */
.login-country-menu {
    direction: rtl;
    text-align: right;
}


/*
 * Resend area:
 * make it obvious without competing with primary CTA.
 */
.login-secondary-actions {
    margin-top: 9px;

    padding-top: 13px;

    border-top:
        1px solid #edf1f3;
}

[data-login-resend] {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #169d87;
}

[data-login-resend]:disabled {
    color: #8e9ca4;
}

[data-login-countdown]:not(:empty)::before {
    content: "(";
}

[data-login-countdown]:not(:empty)::after {
    content: ")";
}


/* Remove visual footprint of old temporary mark if present */
.login-brand-mark {
    display: none;
}


@media (max-width: 520px) {

    .login-brand-logo {
        height: 40px;
        max-width: 170px;
    }

}


/* =========================================================
   Cart payment methods
   ========================================================= */

.cart-payment-methods {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #fff;
}

.cart-payment-methods__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.cart-payment-methods__eyebrow {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.55;
}

.cart-payment-methods__heading h3 {
    margin: 0;
    font-size: 18px;
}

.cart-payment-methods__secure {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.6;
}

.cart-payment-methods__list {
    display: grid;
    gap: 10px;
}

.cart-payment-method {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.cart-payment-method:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cart-payment-method--selected {
    border-color: rgba(15, 118, 110, 0.55);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.08);
}

.cart-payment-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cart-payment-method__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 44px;
    flex: 0 0 58px;
    border-radius: 10px;
    background: #f8fafc;
}

.cart-payment-method__visual img {
    display: block;
    max-width: 46px;
    max-height: 30px;
    object-fit: contain;
}

.cart-payment-method__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.cart-payment-method__content strong {
    font-size: 15px;
}

.cart-payment-method__content small {
    font-size: 12px;
    opacity: 0.58;
}

.cart-payment-method__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
    opacity: 0.25;
}

.cart-payment-method--selected
.cart-payment-method__check {
    border-color: transparent;
    background: #0f766e;
    color: #fff;
    opacity: 1;
}

.cart-payment-methods__feedback {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.7;
}


@media (max-width: 520px) {

    .cart-payment-methods {
        padding: 16px;
        border-radius: 17px;
    }

    .cart-payment-methods__heading {
        align-items: center;
    }

    .cart-payment-method {
        min-height: 68px;
    }

}


/* =========================================================
   Spedia Uni — Clean Checkout UI
   ========================================================= */

.cart-main {
    min-height: calc(100vh - 72px);

    background:
        linear-gradient(
            180deg,
            #f7faf9 0%,
            #ffffff 360px
        );

    color: #172630;
}


/* ---------- Course cards ---------- */

.cart-item {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 22px 24px;

    border: 1px solid #e5ebed;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 5px 20px rgba(23, 38, 48, 0.035);
}


.cart-item-info {
    min-width: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    column-gap: 24px;
    row-gap: 5px;

    align-items: center;

    flex: 1;
}


.cart-item-type {
    grid-column: 1;

    color: #1aa994;

    font-size: 11px;
    font-weight: 800;
}


.cart-item-name {
    grid-column: 1;

    color: #172630;

    font-size: 18px;
    line-height: 1.45;

    font-weight: 850;
}


.cart-item-duration {
    grid-column: 1;

    color: #7b898f;

    font-size: 12px;
    font-weight: 600;
}


.cart-item-price {
    grid-column: 2;
    grid-row: 1 / span 3;

    align-self: center;

    color: #172630 !important;

    font-size: 20px !important;
    font-weight: 900 !important;

    white-space: nowrap;
}


.cart-item-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}


.cart-duration-select {
    min-height: 42px;

    padding: 0 12px;

    border: 1px solid #dde5e8;
    border-radius: 11px;

    outline: none;

    background: #f8fafb;

    color: #253842;

    font: inherit;
    font-size: 12px;
    font-weight: 750;
}


.cart-remove {
    min-height: 42px;

    padding: 0 12px;

    border: 0;
    border-radius: 11px;

    background: #fff5f5;

    color: #c94b4b;

    font: inherit;
    font-size: 12px;
    font-weight: 750;

    cursor: pointer;
}


/* ---------- Summary ---------- */

.cart-summary {
    overflow: hidden;

    padding: 24px !important;

    border: 1px solid #e4eaec !important;
    border-radius: 20px !important;

    background: #ffffff !important;

    color: #172630 !important;

    box-shadow:
        0 14px 45px rgba(23, 38, 48, 0.065) !important;
}


.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: #64747c !important;

    font-size: 13px !important;
}


.cart-summary-row strong {
    color: #172630 !important;

    font-size: 14px !important;
    font-weight: 850 !important;

    white-space: nowrap;
}


.cart-summary-total {
    margin-top: 18px !important;
    padding-top: 18px !important;

    border-top: 1px solid #e6ecee !important;

    color: #172630 !important;
}


.cart-summary-total span {
    font-size: 15px !important;
    font-weight: 800 !important;
}


.cart-summary-total strong,
[data-summary-total] {
    color: #172630 !important;

    font-size: 24px !important;
    font-weight: 950 !important;

    letter-spacing: -0.3px;

    white-space: nowrap;
}


[data-discount-row] strong {
    color: #169c88 !important;
}


[data-installment-row] strong {
    color: #169c88 !important;
}


/* ---------- Coupon ---------- */

.cart-coupon-row {
    display: flex;

    gap: 8px;
}


.cart-coupon-row input {
    min-width: 0;
    min-height: 46px;

    flex: 1;

    padding: 0 13px;

    border: 1px solid #dce5e8 !important;
    border-radius: 12px !important;

    outline: none;

    background: #ffffff !important;

    color: #172630 !important;

    font-size: 13px !important;
}


.cart-coupon-row input:focus {
    border-color: #2ab7a2 !important;

    box-shadow:
        0 0 0 3px rgba(42, 183, 162, 0.09) !important;
}


.cart-coupon-row button {
    min-height: 46px;

    padding: 0 17px;

    border-radius: 12px;

    font-weight: 800;
}


.cart-option-feedback {
    min-height: 22px;

    margin-top: 8px;

    font-size: 12px !important;
    font-weight: 700;

    line-height: 1.6;
}


.cart-option-feedback.is-success {
    color: #148d7b !important;
}


.cart-option-feedback.is-error {
    color: #c94747 !important;
}


/* ---------- Full / installments ---------- */

.cart-payment-choice {
    margin-top: 22px;

    padding-top: 20px;

    border-top: 1px solid #edf1f2;

    background: transparent !important;

    box-shadow: none !important;
}


.cart-payment-title {
    display: block;

    margin-bottom: 10px;

    color: #172630 !important;

    font-size: 13px;
    font-weight: 850;
}


.cart-payment-option {
    min-height: 62px;

    margin-top: 8px;
    padding: 12px 14px;

    border: 1px solid #e2e8ea !important;
    border-radius: 14px;

    background: #ffffff !important;

    color: #172630 !important;
}


.cart-payment-option:has(input:checked) {
    border-color: #2ab7a2 !important;

    background: #f4fbf9 !important;

    box-shadow:
        0 0 0 3px rgba(42, 183, 162, 0.07) !important;
}


.cart-payment-option strong {
    color: #172630 !important;

    font-size: 13px !important;
}


.cart-payment-option small {
    margin-top: 3px;

    color: #7a898f !important;

    font-size: 11px !important;
}


/* ---------- Payment methods ---------- */

.cart-payment-methods {
    margin-top: 22px;

    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}


.cart-payment-methods__heading {
    margin-bottom: 13px;
}


.cart-payment-methods__eyebrow {
    color: #829096 !important;

    font-size: 10px !important;
    font-weight: 800;
}


.cart-payment-methods__heading h3 {
    color: #172630 !important;

    font-size: 16px !important;
    font-weight: 900 !important;
}


.cart-payment-methods__secure {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 6px 9px;

    border: 1px solid #d9eee9;
    border-radius: 11px;

    background: #f4fbf9;

    color: #148c79;

    opacity: 1 !important;
}


.cart-payment-secure-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 8px;

    background: #ffffff;
}


.cart-payment-secure-icon svg {
    width: 16px;
    height: 16px;
}


.cart-payment-methods__secure strong {
    font-size: 11px;
    font-weight: 850;
}


.cart-payment-methods__secure small {
    display: block;

    margin-top: 1px;

    color: #5e9e94;

    font-size: 8px;
}


.cart-payment-method {
    min-height: 78px !important;

    padding: 12px 14px !important;

    border: 1px solid #e0e7e9 !important;
    border-radius: 15px !important;

    background: #ffffff !important;

    color: #172630 !important;
}


.cart-payment-method:hover {
    border-color: #b7ddd6 !important;

    box-shadow:
        0 8px 24px rgba(23, 38, 48, 0.055);
}


.cart-payment-method--selected {
    border-color: #27ae99 !important;

    background: #f7fcfb !important;

    box-shadow:
        0 0 0 3px rgba(39, 174, 153, 0.075) !important;
}


.cart-payment-method__visual {
    width: 64px !important;
    height: 48px !important;

    flex: 0 0 64px !important;

    border: 1px solid #edf1f2;
    border-radius: 11px !important;

    background: #ffffff !important;
}


.cart-payment-method__visual img {
    max-width: 52px !important;
    max-height: 34px !important;
}


.cart-payment-method__content {
    gap: 1px !important;
}


.cart-payment-method__name {
    color: #172630 !important;

    font-size: 15px !important;
    font-weight: 900 !important;
}


.cart-payment-method__english {
    direction: ltr;

    width: fit-content;

    color: #74838a;

    font-size: 11px;
    font-weight: 750;
}


.cart-payment-method__content small {
    margin-top: 3px;

    color: #829096 !important;

    font-size: 10px !important;

    opacity: 1 !important;
}


.cart-payment-method__check {
    flex: 0 0 25px;

    width: 25px !important;
    height: 25px !important;
}


.cart-payment-method--selected
.cart-payment-method__check {
    background: #20a993 !important;
}


/* ---------- Notice / CTA ---------- */

.cart-summary-notice {
    margin: 14px 0 !important;

    color: #89969c !important;

    font-size: 10px !important;
    line-height: 1.65 !important;
}





/* ---------- Responsive ---------- */

@media (max-width: 680px) {

    .cart-item {
        align-items: stretch;

        flex-direction: column;

        padding: 18px;
    }


    .cart-item-info {
        grid-template-columns:
            minmax(0, 1fr)
            auto;

        column-gap: 14px;
    }


    .cart-item-name {
        font-size: 16px;
    }


    .cart-item-price {
        font-size: 17px !important;
    }


    .cart-item-actions {
        justify-content: space-between;
    }


    .cart-duration-select {
        flex: 1;
    }


    .cart-summary {
        padding: 19px !important;
    }


    .cart-summary-total strong,
    [data-summary-total] {
        font-size: 21px !important;
    }


    .cart-payment-methods__secure small {
        display: none;
    }

}


/* =========================================================
   Spedia Uni — Branded Checkout Visual Layer
   ========================================================= */

.cart-main {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 88% 5%,
            rgba(35, 190, 174, 0.14) 0,
            rgba(35, 190, 174, 0.055) 22%,
            transparent 43%
        ),
        radial-gradient(
            circle at 4% 38%,
            rgba(27, 59, 77, 0.075) 0,
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #f5fbfa 0%,
            #fbfdfd 40%,
            #f6f9fa 100%
        ) !important;
}


.cart-main::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 420px;
    height: 420px;

    top: -240px;
    right: -150px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(34, 190, 173, 0.13),
            rgba(20, 55, 72, 0.025)
        );

    filter: blur(2px);

    pointer-events: none;
}


.cart-main::after {
    content: "";

    position: absolute;
    z-index: -1;

    width: 300px;
    height: 300px;

    bottom: 2%;
    left: -190px;

    border-radius: 50%;

    background:
        rgba(29, 174, 159, 0.065);

    pointer-events: none;
}


/* ---------- Course card ---------- */

.cart-item {
    overflow: hidden;

    border:
        1px solid
        rgba(30, 73, 87, 0.085) !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(247, 252, 251, 0.98) 58%,
            rgba(232, 248, 245, 0.82) 100%
        ) !important;

    box-shadow:
        0 15px 42px rgba(25, 55, 68, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}


.cart-item::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 4px;

    background:
        linear-gradient(
            180deg,
            #20b8a5,
            #52d1c1
        );
}


.cart-item::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    left: -55px;
    top: -65px;

    border-radius: 50%;

    background:
        rgba(31, 184, 164, 0.045);

    pointer-events: none;
}


.cart-item-type {
    display: inline-flex;

    width: fit-content;

    padding: 4px 8px;

    border-radius: 999px;

    background:
        rgba(31, 181, 161, 0.075);

    color: #168f7e !important;
}


.cart-item-price {
    padding: 8px 12px;

    border:
        1px solid
        rgba(28, 170, 151, 0.11);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.76);

    box-shadow:
        0 5px 16px rgba(28, 65, 77, 0.035);
}


/* ---------- Summary card ---------- */

.cart-summary {
    position: relative;

    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.99) 0%,
            rgba(250, 253, 252, 0.99) 52%,
            rgba(236, 249, 246, 0.96) 100%
        ) !important;

    border:
        1px solid
        rgba(25, 99, 101, 0.10) !important;

    box-shadow:
        0 22px 65px rgba(20, 51, 64, 0.085),
        0 2px 7px rgba(20, 51, 64, 0.025) !important;
}


.cart-summary::before {
    content: "";

    position: absolute;

    top: 0;
    right: 22px;
    left: 22px;

    height: 3px;

    border-radius: 0 0 5px 5px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #2bb9a6 22%,
            #67d5c6 50%,
            #2bb9a6 78%,
            transparent
        );

    opacity: 0.72;
}


.cart-summary-total {
    position: relative;

    margin-left: -8px !important;
    margin-right: -8px !important;

    padding:
        18px 8px
        2px !important;
}


.cart-summary-total strong,
[data-summary-total] {
    color: #123943 !important;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8);
}


/* ---------- Coupon visual feedback ---------- */

.cart-option-feedback.is-success {
    padding: 7px 9px;

    border-radius: 9px;

    background:
        rgba(27, 172, 151, 0.065);
}


.cart-option-feedback.is-error {
    padding: 7px 9px;

    border-radius: 9px;

    background:
        rgba(201, 71, 71, 0.055);
}


/* ---------- Payment selection ---------- */

.cart-payment-method--selected {
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f1fbf8 100%
        ) !important;
}


/* ---------- Checkout button ---------- */







@media (max-width: 680px) {

    .cart-main::before {
        width: 300px;
        height: 300px;

        right: -180px;
        top: -160px;
    }


    .cart-item::before {
        width: 3px;
    }


    .cart-item-price {
        padding: 6px 9px;
    }

}


/* =========================================================
   Spedia Uni — Checkout Action Consistency
   Keep actions aligned with the rest of the light UI
   ========================================================= */


/*
 * Shared button language
 * Same radius / height / typography / transitions.
 */

.cart-coupon-row button,



/* ---------------------------------------------------------
   Coupon button
   Secondary action — should not compete with checkout CTA
   --------------------------------------------------------- */

.cart-coupon-row button {
    min-width: 82px;

    padding: 0 17px !important;

    border:
        1px solid
        rgba(25, 148, 132, 0.20) !important;

    background:
        rgba(30, 169, 149, 0.075) !important;

    color: #168f7e !important;

    box-shadow: none !important;
}


.cart-coupon-row button:hover:not(:disabled) {
    border-color:
        rgba(25, 148, 132, 0.32) !important;

    background:
        rgba(30, 169, 149, 0.115) !important;

    color: #117a6c !important;

    transform: translateY(-1px);
}


.cart-coupon-row button:active:not(:disabled) {
    transform: translateY(0);

    background:
        rgba(30, 169, 149, 0.15) !important;
}


.cart-coupon-row button:disabled {
    opacity: 0.52;

    cursor: not-allowed;
}


/*
 * Coupon input and button now belong to one visual system.
 */

.cart-coupon-row input {
    min-height: 48px !important;

    border-radius: 12px !important;
}


/* ---------------------------------------------------------
   Checkout CTA
   Primary action — strong, but not visually detached
   --------------------------------------------------------- */













/* ---------------------------------------------------------
   Keyboard accessibility — same focus language everywhere
   --------------------------------------------------------- */

.cart-coupon-row button:focus-visible,
.cart-checkout:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 3px
        rgba(35, 183, 162, 0.14) !important;
}


@media (max-width: 680px) {

    .cart-coupon-row button {
        min-width: 76px;

        padding: 0 14px !important;
    }


    

}


/* =========================================================
   Spedia Uni — Canonical Checkout CTA
   ========================================================= */

.cart-checkout {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;

    margin-top: 10px;
    padding: 0 20px;

    border:
        1px solid
        rgba(21, 143, 127, 0.18) !important;

    border-radius: 12px !important;

    background:
        linear-gradient(
            135deg,
            #1aa994 0%,
            #179989 100%
        ) !important;

    color: #ffffff !important;

    font-family: inherit;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 6px 16px
        rgba(24, 153, 137, 0.14) !important;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}


.cart-checkout:hover:not(:disabled) {
    transform: translateY(-1px);

    background:
        linear-gradient(
            135deg,
            #189f8c 0%,
            #158c7e 100%
        ) !important;

    box-shadow:
        0 8px 19px
        rgba(24, 153, 137, 0.18) !important;
}


.cart-checkout:active:not(:disabled) {
    transform: translateY(0);

    box-shadow:
        0 4px 11px
        rgba(24, 153, 137, 0.13) !important;
}


.cart-checkout:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 3px rgba(35, 183, 162, 0.14),
        0 6px 16px rgba(24, 153, 137, 0.14) !important;
}


.cart-checkout:disabled {
    border-color:
        rgba(126, 147, 151, 0.12) !important;

    background:
        #edf2f2 !important;

    color:
        #97a5a8 !important;

    box-shadow: none !important;

    cursor: not-allowed;

    opacity: 1;
}


@media (max-width: 680px) {

    .cart-checkout {
        min-height: 48px;

        padding: 0 16px;

        font-size: 13px !important;
    }

}


/* =========================================================
   Spedia Uni — Student Account Center
   ========================================================= */

.account-page {
    background: #f7faf9;
    color: #172630;
}


.account-main {
    position: relative;

    min-height: calc(100vh - 72px);

    padding: 46px 0 80px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 88% 0%,
            rgba(39, 187, 169, 0.14),
            transparent 32%
        ),
        radial-gradient(
            circle at 3% 45%,
            rgba(22, 57, 73, 0.065),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #f4fbf9 0%,
            #fbfdfd 47%,
            #f5f8f9 100%
        );
}


.account-container {
    position: relative;
    z-index: 1;

    width: min(1120px, calc(100% - 40px));

    margin: 0 auto;
}


.account-nav-cart,
.nav-account-menu-link {
    color: #40545d;

    font-size: 13px;
    font-weight: 750;

    text-decoration: none;
}


.nav-account-menu-link {
    display: flex;
    align-items: center;

    min-height: 42px;

    padding: 0 14px;

    border-top: 1px solid rgba(25, 55, 68, 0.07);

    transition:
        background 160ms ease,
        color 160ms ease;
}


.nav-account-menu-link:hover {
    background: #f5fbfa;

    color: #178f80;
}


/* ---------- Hero ---------- */

.account-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 235px;

    padding: 38px 42px;

    overflow: hidden;

    border:
        1px solid
        rgba(23, 116, 107, 0.12);

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #163b49 0%,
            #17686b 51%,
            #1aa994 100%
        );

    color: #ffffff;

    box-shadow:
        0 24px 60px
        rgba(21, 62, 73, 0.16);
}


.account-hero::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    top: -210px;
    right: -100px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.14);
}


.account-hero-glow {
    position: absolute;

    width: 240px;
    height: 240px;

    left: 13%;
    bottom: -190px;

    border-radius: 50%;

    background:
        rgba(102, 222, 204, 0.22);

    filter: blur(8px);
}


.account-hero-content {
    position: relative;
    z-index: 2;
}


.account-eyebrow {
    display: inline-block;

    margin-bottom: 13px;

    color: #91eadc;

    font-size: 12px;
    font-weight: 850;
}


.account-hero h1 {
    margin: 0;

    font-size: clamp(31px, 4vw, 47px);
    line-height: 1.15;

    font-weight: 950;
}


.account-hero p {
    max-width: 520px;

    margin: 13px 0 0;

    color: rgba(255,255,255,.78);

    font-size: 15px;
    line-height: 1.8;
}


.account-phone {
    margin-top: 17px;

    width: fit-content;

    padding: 7px 11px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 10px;

    background:
        rgba(255,255,255,.075);

    color: rgba(255,255,255,.86);

    font-size: 12px;
}


.account-hero-mark {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 126px;
    height: 126px;

    flex: 0 0 126px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 31px;

    background:
        rgba(255,255,255,.075);

    transform: rotate(-4deg);
}


.account-hero-mark svg {
    width: 61px;
    height: 61px;

    color: #80dfd0;
}


/* ---------- Tabs ---------- */

.account-tabs {
    display: flex;

    width: fit-content;

    margin: 30px 0 25px;

    padding: 5px;

    border:
        1px solid
        rgba(27, 70, 82, 0.08);

    border-radius: 14px;

    background: rgba(255,255,255,.86);

    box-shadow:
        0 7px 22px
        rgba(25, 58, 70, 0.045);
}


.account-tab {
    min-width: 112px;
    min-height: 42px;

    padding: 0 18px;

    border: 0;
    border-radius: 10px;

    background: transparent;

    color: #718087;

    font: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}


.account-tab.is-active {
    background: #edf9f6;

    color: #168d7d;

    box-shadow:
        inset 0 0 0 1px
        rgba(30, 171, 151, 0.09);
}


/* ---------- Headings ---------- */

.account-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.account-section-heading span {
    color: #8a989e;

    font-size: 11px;
    font-weight: 800;
}


.account-section-heading h2 {
    margin: 3px 0 0;

    color: #172630;

    font-size: 25px;
    font-weight: 950;
}


.account-section-heading > strong {
    color: #1aa38f;

    font-size: 12px;
}


/* ---------- Course grid ---------- */

.account-course-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.account-course-card {
    display: grid;

    grid-template-columns:
        150px
        minmax(0, 1fr);

    min-height: 210px;

    overflow: hidden;

    border:
        1px solid
        rgba(26, 78, 91, 0.085);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.99),
            rgba(246,252,250,.96)
        );

    box-shadow:
        0 14px 38px
        rgba(22, 55, 67, 0.06);
}


.account-course-image {
    min-height: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #eaf8f5,
            #d9f1ec
        );
}


.account-course-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.account-course-image--empty {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #169a87;

    font-size: 30px;
    font-weight: 950;
}


.account-course-body {
    display: flex;
    flex-direction: column;

    padding: 19px;
}


.account-course-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.account-course-university {
    color: #1aa18e;

    font-size: 10px;
    font-weight: 850;
}


.account-course-body h3 {
    margin: 10px 0 3px;

    color: #172630;

    font-size: 18px;
    font-weight: 950;
}


.account-course-category {
    margin: 0;

    color: #819097;

    font-size: 11px;
}


.account-course-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 10px;
}


.account-course-meta span {
    padding: 4px 7px;

    border-radius: 7px;

    background: #f1f5f5;

    color: #6d7d84;

    font-size: 10px;
    font-weight: 700;
}


.account-course-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: auto;
    padding-top: 16px;
}


.account-whatsapp-button {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    min-height: 38px;

    padding: 0 11px;

    border-radius: 10px;

    background: #e9f8f0;

    color: #158a60;

    font-size: 11px;
    font-weight: 850;

    text-decoration: none;
}


.account-app-only {
    padding: 7px 9px;

    border-radius: 9px;

    background: #eef4f5;

    color: #65767d;

    font-size: 10px;
    font-weight: 750;
}


/* ---------- Status ---------- */

.account-status {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: 5px 8px;

    border-radius: 999px;

    background: #eef3f4;

    color: #687a81;

    font-size: 9px;
    font-weight: 850;
}


.account-status--active,
.account-status--completed,
.account-status--success,
.account-status--paid {
    background: #e7f8f3;

    color: #148c78;
}


.account-status--overdue,
.account-status--failed {
    background: #fff0f0;

    color: #bd4b4b;
}


.account-status--pending {
    background: #fff8e8;

    color: #a87917;
}


/* ---------- App CTA ---------- */

.account-app-cta {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 20px;

    margin-top: 26px;

    padding: 23px 25px;

    border:
        1px solid
        rgba(28, 151, 135, 0.11);

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #effaf7 0%,
            #f8fcfb 55%,
            #edf8f6 100%
        );
}


.account-app-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 15px;

    background: #ffffff;

    color: #179987;

    box-shadow:
        0 7px 20px
        rgba(23, 95, 91, 0.08);
}


.account-app-cta__icon svg {
    width: 25px;
    height: 25px;
}


.account-app-cta__copy > span {
    color: #179685;

    font-size: 10px;
    font-weight: 850;
}


.account-app-cta__copy h3 {
    margin: 3px 0;

    color: #18343e;

    font-size: 18px;
    font-weight: 950;
}


.account-app-cta__copy p {
    max-width: 590px;

    margin: 0;

    color: #76868c;

    font-size: 11px;
    line-height: 1.75;
}


.account-store-actions {
    display: flex;

    gap: 8px;
}


.account-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 14px;

    border-radius: 11px;

    background: #183b48;

    color: #ffffff;

    font-size: 11px;
    font-weight: 850;

    text-decoration: none;
}


/* ---------- Payments ---------- */

.account-payments-list {
    display: grid;

    gap: 14px;
}


.account-payment-card {
    padding: 21px;

    border:
        1px solid
        rgba(25, 71, 83, 0.085);

    border-radius: 19px;

    background: rgba(255,255,255,.96);

    box-shadow:
        0 12px 32px
        rgba(23, 56, 68, 0.05);
}


.account-payment-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;

    gap: 18px;
}


.account-payment-heading > div > span {
    color: #1a9a88;

    font-size: 10px;
    font-weight: 850;
}


.account-payment-heading h3 {
    margin: 4px 0 0;

    color: #172630;

    font-size: 17px;
    font-weight: 950;
}


.account-payment-numbers {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 17px;
}


.account-payment-numbers > div {
    padding: 12px;

    border-radius: 11px;

    background: #f6f9f9;
}


.account-payment-numbers span,
.account-installment-summary span {
    display: block;

    color: #89979c;

    font-size: 9px;
    font-weight: 750;
}


.account-payment-numbers strong,
.account-installment-summary strong {
    display: block;

    margin-top: 3px;

    color: #213943;

    font-size: 13px;
    font-weight: 900;
}


.account-payment-period {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 12px;
}


.account-payment-period span {
    padding: 4px 7px;

    border-radius: 7px;

    background: #eff5f5;

    color: #718087;

    font-size: 9px;
}


.account-installment-summary {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 13px;

    padding: 13px;

    border:
        1px solid
        rgba(29, 163, 144, 0.10);

    border-radius: 11px;

    background: #f2faf8;
}


.account-installment-summary small {
    display: block;

    margin-top: 2px;

    color: #859399;

    font-size: 9px;
}


.account-transactions {
    margin-top: 15px;

    border-top:
        1px solid
        #edf1f2;
}


.account-transaction {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 16px;

    min-height: 58px;

    border-bottom:
        1px solid
        #edf1f2;
}


.account-transaction:last-child {
    border-bottom: 0;
}


.account-transaction strong {
    display: block;

    color: #263e47;

    font-size: 12px;
}


.account-transaction span,
.account-transaction small {
    display: block;

    margin-top: 2px;

    color: #849197;

    font-size: 9px;
}


.account-transaction a {
    color: #178f80;

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;
}


/* ---------- Loading / empty / error ---------- */

.account-loading,
.account-empty,
.account-error {
    padding: 35px;

    border:
        1px solid
        rgba(25, 69, 82, 0.08);

    border-radius: 18px;

    background: rgba(255,255,255,.85);

    text-align: center;
}


.account-loading {
    color: #819097;

    font-size: 12px;
}


.account-empty h3 {
    margin: 0;

    color: #263e47;

    font-size: 17px;
}


.account-empty p {
    margin: 7px 0 15px;

    color: #859399;

    font-size: 11px;
}


.account-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 15px;

    border-radius: 10px;

    background: #1aa38f;

    color: #ffffff;

    font-size: 11px;
    font-weight: 850;

    text-decoration: none;
}


.account-error {
    margin-top: 15px;

    border-color: rgba(190, 67, 67, 0.12);

    background: #fff5f5;

    color: #b94b4b;

    font-size: 11px;
}


@media (max-width: 820px) {

    .account-course-grid {
        grid-template-columns: 1fr;
    }


    .account-app-cta {
        grid-template-columns:
            auto
            minmax(0, 1fr);
    }


    .account-store-actions {
        grid-column: 1 / -1;
    }

}


@media (max-width: 620px) {

    .account-main {
        padding-top: 25px;
    }


    .account-container {
        width:
            min(
                100% - 24px,
                1120px
            );
    }


    .account-hero {
        min-height: 205px;

        padding: 27px 23px;

        border-radius: 21px;
    }


    .account-hero-mark {
        display: none;
    }


    .account-hero h1 {
        font-size: 31px;
    }


    .account-tabs {
        width: 100%;
    }


    .account-tab {
        flex: 1;
    }


    .account-course-card {
        grid-template-columns:
            108px
            minmax(0, 1fr);

        min-height: 190px;
    }


    .account-course-body {
        padding: 15px;
    }


    .account-course-body h3 {
        font-size: 15px;
    }


    .account-payment-numbers {
        grid-template-columns: 1fr;
    }


    .account-app-cta {
        grid-template-columns: 1fr;

        text-align: right;
    }


    .account-app-cta__icon {
        width: 46px;
        height: 46px;
    }


    .account-store-actions {
        grid-column: auto;

        flex-wrap: wrap;
    }


    .account-store-button {
        flex: 1;
    }


    .account-transaction {
        grid-template-columns:
            1fr
            auto;

        padding: 10px 0;
    }


    .account-transaction > a {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MARKETING COUPON OFFER CARD
   ========================================================= */

.offer-card--coupon .offer-body {
    display: flex;
    flex-direction: column;
}

.offer-coupon {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.offer-coupon-label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.62;
}

.offer-coupon-code {
    display: block;
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.offer-coupon-expiry {
    margin-top: 13px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0.62;
}

.offer-copy-coupon {
    width: 100%;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.offer-copy-coupon.is-copied {
    transform: none;
}

.offer-copy-coupon.is-copied [data-copy-label] {
    font-weight: 800;
}

@media (max-width: 640px) {
    .offer-coupon {
        margin-top: 18px;
        padding: 16px;
    }

    .offer-coupon-code {
        font-size: 1.5rem;
    }
}


/* =========================================
   HERO UNIVERSITY STRIP
   Isolated from hero layout sizing
   ========================================= */

.hero-copy {
    min-width: 0;
}

.hero-uni-strip {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-top: 16px;

    overflow: hidden;
}

.hero-uni-label {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 9px;

    color: var(--gray);

    font-size: 11px;
    font-weight: 800;
}

.hero-uni-label > span {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background: var(--turquoise);

    box-shadow:
        0 0 0 4px rgba(13, 187, 195, 0.10);
}


/*
 * This is the only element allowed to see
 * the wide animated content.
 */
.hero-uni-window {
    position: relative;

    width: 100%;
    max-width: 100%;

    height: 36px;

    overflow: hidden;

    contain: layout paint;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent,
            #000 7%,
            #000 93%,
            transparent
        );

    mask-image:
        linear-gradient(
            to right,
            transparent,
            #000 7%,
            #000 93%,
            transparent
        );
}


/*
 * The runner is deliberately removed from
 * normal sizing calculations of the hero.
 */
.hero-uni-runner {
    position: absolute;

    top: 0;
    left: 0;

    display: flex;

    width: max-content;

    direction: ltr;

    animation:
        spediaUniTicker 32s linear infinite;

    will-change: transform;
}

.hero-uni-set {
    display: flex;
    align-items: center;
    gap: 8px;

    flex: 0 0 auto;

    padding-right: 8px;
}

.hero-uni-set a {
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    padding: 0 13px;

    border:
        1px solid rgba(13, 187, 195, 0.16);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.82);

    color: var(--navy);

    text-decoration: none;
    white-space: nowrap;

    font-size: 11px;
    font-weight: 800;

    box-shadow:
        0 4px 14px rgba(19, 37, 63, 0.04);
}


/*
 * Two identical sets are adjacent.
 * -50% moves exactly one copy out.
 */
@keyframes spediaUniTicker {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }

}


@media (min-width: 768px) {

    .hero-uni-strip {
        max-width: 600px;
    }

    .hero-uni-window {
        height: 38px;
    }

    .hero-uni-set a {
        height: 36px;

        padding-inline: 15px;

        font-size: 12px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .hero-uni-runner {
        position: static;

        width: auto;

        animation: none;
    }

    .hero-uni-window {
        height: auto;

        overflow: visible;

        contain: none;

        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero-uni-set {
        flex-wrap: wrap;
        direction: rtl;
    }

    .hero-uni-set[aria-hidden="true"] {
        display: none;
    }

}
