/* Extracted from resources/views/landing/home.blade.php — edit here, not inline. */
        :root {
            --lp-primary: #00337C;
            --lp-secondary: #1384E3;
            --lp-accent: #F4B41A;
            --lp-soft: #e6f0fa;
            --lp-ink: #0f172a;
            --lp-muted: #64748b;
            --lp-line: #dbe4f0;
            --lp-bg: #f6f8fb;
            --lp-white: #ffffff;
            --lp-container-max: 1320px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            color: var(--lp-ink);
            background: var(--lp-bg);
            font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            line-height: 1.6;
            text-align: start;
            -webkit-font-smoothing: antialiased;
        }

        html[dir="rtl"] body {
            font-family: 'Cairo', "Segoe UI", Tahoma, Arial, sans-serif;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        img {
            max-width: 100%;
        }

        .lp-page {
            min-height: 100vh;
            overflow-x: hidden;
        }

        .lp-container {
            width: min(var(--lp-container-max), calc(100% - 40px));
            margin: 0 auto;
        }

        .lp-topbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 20;
            border-bottom: 1px solid rgba(219, 228, 240, .4);
            background: rgba(255, 255, 255, .85);
            box-shadow: 0 10px 40px rgba(0, 51, 124, .05);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            transition: all 0.3s ease;
        }

        .lp-nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: clamp(10px, 1.2vw, 18px);
            min-height: 72px;
        }

        .lp-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .lp-logo img {
            width: 112px;
            height: auto;
            border-radius: 0;
        }

        .lp-links {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: clamp(3px, .45vw, 7px);
            min-width: 0;
        }

        .lp-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 7px clamp(8px, .72vw, 12px);
            border-radius: 8px;
            color: #334155;
            font-size: clamp(13px, .82vw, 14px);
            font-weight: 600;
            line-height: 1.45;
            text-align: center;
            white-space: nowrap;
            transition: .16s ease;
        }

        .lp-links a:hover,
        .lp-links a:focus {
            background: var(--lp-soft);
            color: var(--lp-primary);
        }

        .lp-actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            flex: 0 0 auto;
        }

        .lp-lang-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-width: 94px;
            min-height: 42px;
            padding: 0 12px;
            border: 1px solid #cbd9ea;
            border-radius: 8px;
            background: #fff;
            color: var(--lp-primary);
            font-size: 13px;
            font-weight: 650;
            line-height: 1;
            cursor: pointer;
            transition: .16s ease;
        }

        .lp-lang-toggle:hover,
        .lp-lang-toggle:focus {
            border-color: #9fc3ea;
            background: var(--lp-soft);
            outline: 0;
        }

        .lp-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 42px;
            padding: 8px 16px;
            border: 1px solid transparent;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 650;
            line-height: 1.4;
            text-align: center;
            white-space: nowrap;
            vertical-align: middle;
            transition: .16s ease;
        }

        .lp-actions .lp-btn {
            min-width: max-content;
        }

        .lp-actions .lp-btn-accent {
            min-width: 96px;
        }

        .lp-btn-primary {
            border-color: transparent;
            background: linear-gradient(135deg, var(--lp-primary) 0%, #084aa6 100%);
            color: #fff;
            box-shadow: 0 12px 24px rgba(0, 51, 124, .25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .lp-btn-primary:hover,
        .lp-btn-primary:focus {
            background: linear-gradient(135deg, #00265f 0%, #00337C 100%);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 16px 32px rgba(0, 51, 124, .3);
        }

        .lp-btn-light {
            border-color: #cbd9ea;
            background: #fff;
            color: var(--lp-primary);
        }

        .lp-btn-light:hover,
        .lp-btn-light:focus {
            border-color: #9fc3ea;
            background: var(--lp-soft);
            color: var(--lp-primary);
        }

        .lp-btn-accent {
            border-color: transparent;
            background: linear-gradient(135deg, var(--lp-accent) 0%, #fbd04b 100%);
            color: var(--lp-primary);
            box-shadow: 0 12px 24px rgba(244, 180, 26, .25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .lp-btn-accent:hover,
        .lp-btn-accent:focus {
            background: linear-gradient(135deg, #d99b05 0%, var(--lp-accent) 100%);
            color: var(--lp-primary);
            transform: translateY(-2px);
            box-shadow: 0 16px 32px rgba(244, 180, 26, .3);
        }

        .lp-menu-btn {
            display: none;
            width: 42px;
            height: 42px;
            border: 1px solid #cbd9ea;
            border-radius: 8px;
            background: #fff;
            color: var(--lp-primary);
        }

        .lp-hero {
            position: relative;
            min-height: min(720px, calc(100vh - 72px));
            display: flex;
            align-items: center;
            padding: 118px 0 72px;
            color: #fff;
            background-color: var(--lp-primary);
            background-image: linear-gradient(90deg, rgba(0, 31, 77, 0.95) 0%, rgba(0, 51, 124, 0.85) 43%, rgba(19, 132, 227, 0.4) 62%, rgba(230, 240, 250, 0) 100%),
            url("../images/drosat-student-dashboard-devices.webp"),
            linear-gradient(120deg, #001f4d 0%, #00337C 40%, #1384E3 100%);
            background-repeat: no-repeat;
            background-position: center, 57% center, center;
            background-size: cover, min(39vw, 690px) auto, cover;
            overflow: hidden;
        }

        .lp-hero::before {
            content: "";
            position: absolute;
            top: -20%;
            left: -10%;
            width: 50%;
            height: 70%;
            background: radial-gradient(circle, rgba(244, 180, 26, 0.15) 0%, transparent 70%);
            pointer-events: none;
            z-index: 1;
        }

        html[dir="rtl"] .lp-hero {
            background-image: linear-gradient(270deg, rgba(0, 31, 77, 0.95) 0%, rgba(0, 51, 124, 0.85) 43%, rgba(19, 132, 227, 0.4) 62%, rgba(230, 240, 250, 0) 100%),
            url("../images/drosat-student-dashboard-devices.webp"),
            linear-gradient(240deg, #001f4d 0%, #00337C 40%, #1384E3 100%);
            background-position: center, 43% center, center;
        }

        html[dir="rtl"] .lp-hero::before {
            left: auto;
            right: -10%;
        }

        .lp-hero::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--lp-primary), var(--lp-secondary) 76%, var(--lp-accent) 76%);
        }

        .lp-hero-content {
            position: relative;
            z-index: 2;
            width: min(650px, 100%);
        }

        .lp-hero > .lp-container {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, 650px) minmax(0, 700px);
            justify-content: space-between;
            gap: clamp(40px, 6vw, 120px);
            align-items: stretch;
        }

        .lp-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 34px;
            padding: 0 10px;
            border: 1px solid rgba(244, 180, 26, .45);
            border-radius: 8px;
            background: rgba(244, 180, 26, .14);
            color: #fff;
            font-size: 13px;
            font-weight: 650;
        }

        .lp-kicker-mark,
        .lp-mark {
            position: relative;
            display: inline-flex;
            flex: 0 0 auto;
            border-radius: 8px;
            background: var(--lp-soft);
        }

        .lp-kicker-mark {
            width: 24px;
            height: 24px;
        }

        .lp-kicker-mark::after,
        .lp-mark::after {
            content: "";
            position: absolute;
            right: 5px;
            bottom: 5px;
            width: 5px;
            height: 12px;
            border-radius: 2px;
            background: var(--lp-accent);
            box-shadow: -7px 0 0 var(--lp-secondary), -14px 0 0 var(--lp-primary);
        }

        .lp-kicker-mark::after {
            top: 50%;
            right: auto;
            bottom: auto;
            left: calc(50% + 7px);
            transform: translate(-50%, -50%);
        }

        .lp-hero h1 {
            margin: 18px 0;
            max-width: 620px;
            color: #fff;
            font-size: clamp(38px, 5vw, 58px);
            font-weight: 650;
            line-height: 1.06;
            letter-spacing: 0;
        }

        .lp-hero p {
            max-width: 590px;
            margin: 0;
            color: rgba(255, 255, 255, .82);
            font-size: clamp(15px, 1.8vw, 18px);
        }

        .lp-hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 22px 0;
        }

        .lp-app-downloads {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            max-width: 520px;
            margin: -8px 0 22px;
        }

        .lp-store-btn {
            display: grid;
            grid-template-columns: 38px minmax(0, 1fr) 18px;
            align-items: center;
            gap: 10px;
            min-width: 208px;
            min-height: 58px;
            padding: 8px 12px;
            border: 1px solid rgba(255, 255, 255, .22);
            border-radius: 14px;
            color: #fff;
            background: rgba(255, 255, 255, .1);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 26px rgba(0, 20, 55, .15);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
        }

        .lp-store-btn:hover,
        .lp-store-btn:focus {
            color: #fff;
            border-color: rgba(244, 180, 26, .65);
            background: rgba(255, 255, 255, .16);
            box-shadow: 0 15px 30px rgba(0, 20, 55, .22);
            transform: translateY(-2px);
        }

        .lp-store-btn__icon {
            display: grid;
            width: 38px;
            height: 38px;
            place-items: center;
            border-radius: 11px;
            color: var(--lp-primary);
            background: #fff;
            font-size: 21px;
        }

        .lp-store-btn--android .lp-store-btn__icon {
            color: #087f5b;
        }

        .lp-store-btn--iphone .lp-store-btn__icon {
            color: #111827;
        }

        .lp-store-btn__copy {
            min-width: 0;
            text-align: start;
        }

        .lp-store-btn__copy small,
        .lp-store-btn__copy strong {
            display: block;
        }

        .lp-store-btn__copy small {
            color: rgba(255, 255, 255, .7);
            font-size: 9px;
            font-weight: 600;
            line-height: 1.3;
        }

        .lp-store-btn__copy strong {
            margin-top: 2px;
            color: #fff;
            font-size: 14px;
            font-weight: 750;
            line-height: 1.25;
        }

        .lp-store-btn > .feather-arrow-up-left,
        .lp-store-btn > .feather-arrow-up-right {
            color: var(--lp-accent);
            font-size: 16px;
        }

        html[dir="rtl"] .lp-store-btn > .feather-arrow-up-right,
        html[dir="ltr"] .lp-store-btn > .feather-arrow-up-left {
            display: none;
        }

        @media (max-width: 575.98px) {
            .lp-app-downloads {
                width: 100%;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
                margin: -6px auto 20px;
            }

            .lp-store-btn {
                min-width: 0;
                min-height: 56px;
                grid-template-columns: 34px minmax(0, 1fr);
                gap: 8px;
                padding: 8px;
            }

            .lp-store-btn__icon {
                width: 34px;
                height: 34px;
                font-size: 18px;
            }

            .lp-store-btn__copy small {
                font-size: 7.5px;
            }

            .lp-store-btn__copy strong {
                font-size: 11px;
            }

            .lp-store-btn > .feather-arrow-up-left,
            .lp-store-btn > .feather-arrow-up-right {
                display: none;
            }
        }

        .lp-hero-meta {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
            max-width: 620px;
            margin-top: 0;
        }

        .lp-hero-chip {
            min-height: 64px;
            padding: 14px 16px;
            border: 1px solid rgba(255, 255, 255, .2);
            border-radius: 16px;
            background: rgba(255, 255, 255, .08);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
            transition: all 0.3s ease;
        }

        .lp-hero-chip:hover {
            background: rgba(255, 255, 255, .12);
            transform: translateY(-2px);
            border-color: rgba(255, 255, 255, .3);
        }

        .lp-hero-chip strong {
            display: block;
            color: #fff;
            font-size: 20px;
            font-weight: 650;
            line-height: 1;
        }

        .lp-hero-chip span {
            display: block;
            margin-top: 6px;
            color: rgba(255, 255, 255, .7);
            font-size: 12px;
        }

        .lp-hero-pricing {
            position: relative;
            z-index: 3;
            inset: auto;
            top: 18px;
            align-self: end;
            display: block;
            width: 100%;
            max-width: 700px;
            padding: 16px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, .86);
            border-radius: 24px;
            color: var(--lp-primary);
            background:
                radial-gradient(circle at 92% 0%, rgba(244, 180, 26, .14), transparent 24%),
                linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(218, 237, 255, .7));
            box-shadow:
                0 28px 62px rgba(0, 34, 83, .3),
                inset 0 1px 0 rgba(255, 255, 255, .95),
                inset 0 -1px 0 rgba(19, 132, 227, .1);
            backdrop-filter: blur(24px) saturate(135%);
            -webkit-backdrop-filter: blur(24px) saturate(135%);
            transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
        }

        .lp-hero-pricing::before {
            content: "";
            position: absolute;
            z-index: 2;
            inset: 0 0 auto;
            height: 4px;
            background: linear-gradient(90deg, var(--lp-primary) 0 38%, var(--lp-secondary) 38% 78%, var(--lp-accent) 78%);
        }

        html[dir="rtl"] .lp-hero-pricing {
            left: auto;
        }

        .lp-hero-pricing:hover,
        .lp-hero-pricing:focus-visible {
            color: var(--lp-primary);
            border-color: rgba(244, 180, 26, .75);
            background:
                radial-gradient(circle at 92% 0%, rgba(244, 180, 26, .17), transparent 25%),
                linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(218, 237, 255, .77));
            box-shadow: 0 32px 68px rgba(0, 28, 72, .36), inset 0 1px 0 rgba(255, 255, 255, .98);
            transform: translateY(-2px);
        }

        .lp-hero-pricing__head,
        .lp-hero-pricing__title,
        .lp-hero-pricing__link {
            display: flex;
            align-items: center;
        }

        .lp-hero-pricing__head {
            justify-content: space-between;
            gap: 12px;
            min-height: 54px;
            padding: 2px 3px 14px;
        }

        .lp-hero-pricing__title {
            gap: 10px;
            min-width: 0;
        }

        .lp-hero-pricing__title i {
            display: grid;
            width: 40px;
            height: 40px;
            flex: 0 0 auto;
            place-items: center;
            border: 1px solid rgba(255, 255, 255, .72);
            border-radius: 12px;
            color: var(--lp-primary);
            background: linear-gradient(135deg, #ffd34e, var(--lp-accent));
            box-shadow: 0 8px 18px rgba(244, 180, 26, .26), inset 0 1px 0 rgba(255, 255, 255, .55);
            font-size: 18px;
        }

        .lp-hero-pricing__title strong,
        .lp-hero-pricing__title small {
            display: block;
        }

        .lp-hero-pricing__title strong {
            color: var(--lp-primary);
            font-size: 17px;
            font-weight: 800;
            line-height: 1.2;
        }

        .lp-hero-pricing__title small {
            margin-top: 3px;
            color: #70839b;
            font-size: 9.5px;
        }

        .lp-hero-pricing__link {
            gap: 5px;
            flex: 0 0 auto;
            min-height: 34px;
            padding: 0 11px;
            border: 1px solid rgba(19, 132, 227, .2);
            border-radius: 999px;
            color: #075cb7;
            background: rgba(255, 255, 255, .62);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
            font-size: 11px;
            font-weight: 700;
        }

        .lp-hero-pricing__link .feather-arrow-left,
        .lp-hero-pricing__link .feather-arrow-right {
            font-size: 13px;
        }

        html[dir="rtl"] .lp-hero-pricing__link .feather-arrow-right,
        html[dir="ltr"] .lp-hero-pricing__link .feather-arrow-left {
            display: none;
        }

        .lp-hero-pricing__table {
            display: block;
            overflow: hidden;
            border: 1px solid rgba(194, 214, 235, .78);
            border-radius: 16px;
            background: rgba(255, 255, 255, .62);
            box-shadow: 0 12px 28px rgba(0, 51, 124, .1), inset 0 1px 0 rgba(255, 255, 255, .72);
        }

        .lp-hero-pricing__row {
            display: grid;
            grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
            min-height: 58px;
        }

        .lp-hero-pricing__row + .lp-hero-pricing__row {
            border-top: 1px solid rgba(203, 216, 231, .76);
        }

        .lp-hero-pricing__cell {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            min-width: 0;
            padding: 10px 8px;
            text-align: center;
        }

        .lp-hero-pricing__cell + .lp-hero-pricing__cell {
            border-inline-start: 1px solid rgba(203, 216, 231, .76);
        }

        .lp-hero-pricing__row--head {
            min-height: 50px;
            background: #0a68c8;
        }

        .lp-hero-pricing__row--head .lp-hero-pricing__cell {
            color: #fff;
            font-size: 11.5px;
            font-weight: 800;
        }

        .lp-hero-pricing__row--head .lp-hero-pricing__cell:nth-child(1) {
            background: linear-gradient(135deg, #00337c, #064a9d);
        }

        .lp-hero-pricing__row--head .lp-hero-pricing__cell:nth-child(2) {
            background: linear-gradient(135deg, #0861bd, #147fdc);
        }

        .lp-hero-pricing__row--head .lp-hero-pricing__cell:nth-child(3) {
            background: linear-gradient(135deg, #1a72ce, #3189e3);
        }

        .lp-hero-pricing__row--head .lp-hero-pricing__cell:last-child {
            background: linear-gradient(135deg, #e99e00, var(--lp-accent));
            color: var(--lp-primary);
        }

        .lp-hero-pricing__row--head i {
            font-size: 14px;
        }

        .lp-hero-pricing__row--plan {
            --row-accent: #7cc8ff;
            background: rgba(255, 255, 255, .78);
        }

        .lp-hero-pricing__row--plan .lp-hero-pricing__cell:first-child {
            background: linear-gradient(90deg, rgba(238, 247, 255, .84), rgba(255, 255, 255, .54));
        }

        .lp-hero-pricing__row--primary { --row-accent: var(--lp-accent); }
        .lp-hero-pricing__row--preparatory { --row-accent: var(--lp-secondary); }
        .lp-hero-pricing__row--secondary { --row-accent: #7cc8ff; }

        .lp-hero-pricing__row--plan .lp-hero-pricing__cell:first-child::before {
            content: "";
            position: absolute;
            inset-inline-start: 0;
            top: 8px;
            bottom: 8px;
            width: 5px;
            border-radius: 99px;
            background: var(--row-accent);
        }

        .lp-hero-pricing__stage {
            color: #092e6c;
            font-size: 14.5px;
            font-weight: 800;
        }

        .lp-hero-pricing__amount {
            color: #092e6c;
            font-size: 22px;
            font-weight: 800;
            line-height: 1;
            white-space: nowrap;
        }

        .lp-hero-pricing__amount small {
            margin-inline-start: 2px;
            color: #536b88;
            font-size: 10px;
            font-weight: 650;
        }

        .lp-hero-pricing__row--plan:hover {
            background: rgba(240, 248, 255, .94);
        }

        .lp-hero-pricing__row--plan:hover .lp-hero-pricing__amount {
            color: #075cb7;
        }

        @media (max-width: 991.98px) {
            .lp-hero > .lp-container {
                display: block;
            }

            .lp-hero-pricing {
                position: relative;
                inset: auto;
                top: auto;
                width: min(700px, 100%);
                margin: 18px auto 0;
            }

            html[dir="rtl"] .lp-hero-pricing {
                left: auto;
            }
        }

        @media (max-width: 575.98px) {
            .lp-hero-pricing {
                width: 100%;
                padding: 8px;
                border-radius: 15px;
            }

            .lp-hero-pricing__head {
                padding-bottom: 7px;
            }

            .lp-hero-pricing__title small,
            .lp-hero-pricing__link span {
                display: none;
            }

            .lp-hero-pricing__row {
                grid-template-columns: 1.18fr repeat(3, minmax(0, 1fr));
                min-height: 46px;
            }

            .lp-hero-pricing__row--head {
                min-height: 42px;
            }

            .lp-hero-pricing__cell {
                gap: 3px;
                padding: 7px 4px;
            }

            .lp-hero-pricing__row--head .lp-hero-pricing__cell,
            .lp-hero-pricing__stage {
                font-size: 8px;
            }

            .lp-hero-pricing__row--head i {
                display: none;
            }

            .lp-hero-pricing__amount {
                font-size: 12px;
            }

            .lp-hero-pricing__amount small {
                font-size: 7px;
            }
        }

        .lp-section {
            padding: 56px 0;
            scroll-margin-top: 92px;
        }

        .lp-section.tight {
            padding: 34px 0;
        }

        .lp-section-head {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 20px;
        }

        .lp-section-title {
            margin: 0;
            color: var(--lp-ink);
            font-size: clamp(32px, 4vw, 42px);
            font-weight: 700;
            line-height: 1.15;
            letter-spacing: 0;
        }

        .lp-section-copy {
            max-width: 680px;
            margin: 12px 0 0;
            color: var(--lp-muted);
            font-size: 16px;
            line-height: 1.7;
        }

        .lp-stats {
            position: relative;
            margin-top: -34px;
            z-index: 6;
        }

        .lp-stats-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
        }

        .lp-stat,
        .lp-card,
        .lp-course,
        .lp-subject-card,
        .lp-testimonial,
        .lp-newsletter {
            border: 1px solid rgba(219, 228, 240, 0.6);
            border-radius: 16px;
            background: #fff;
            box-shadow: 0 20px 40px rgba(15, 23, 42, .03), 0 1px 3px rgba(15, 23, 42, .02);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
        }

        .lp-stat {
            position: relative;
            min-height: 102px;
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 18px 22px;
            overflow: hidden;
            border-radius: 20px;
            border: 1px solid #dbe6f4;
            background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
            box-shadow:
                0 18px 38px rgba(0, 51, 124, .06),
                inset 0 1px 0 rgba(255, 255, 255, .96);
            direction: ltr;
        }

        .lp-stat::before {
            content: "";
            position: absolute;
            inset-inline: 0;
            top: 0;
            height: 4px;
            background: linear-gradient(90deg,
                    var(--lp-primary) 0%,
                    var(--lp-secondary) 72%,
                    var(--lp-accent) 100%);
        }

        .lp-stat::after {
            content: "";
            position: absolute;
            inset-inline-start: -24px;
            top: -18px;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(19, 132, 227, .06) 0%, transparent 68%);
            pointer-events: none;
        }

        .lp-stat-icon {
            position: relative;
            z-index: 1;
            width: auto;
            height: auto;
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: 0;
            color: var(--lp-secondary);
            font-size: 32px;
            line-height: 1;
            box-shadow: none;
        }

        .lp-stat:nth-child(2) .lp-stat-icon {
            color: #0f56c3;
        }

        .lp-stat:nth-child(3) .lp-stat-icon {
            color: #1b6c8c;
        }

        .lp-stat:nth-child(4) .lp-stat-icon {
            color: #0c4fa3;
        }

        .lp-stat-copy {
            position: relative;
            z-index: 1;
            min-width: 0;
            flex: 1 1 auto;
            direction: rtl;
            text-align: right;
        }

        html[dir="ltr"] .lp-stat-copy {
            direction: ltr;
            text-align: left;
        }

        .lp-stat strong {
            display: block;
            color: var(--lp-primary);
            font-size: 36px;
            font-weight: 800;
            line-height: 1;
            letter-spacing: -.02em;
        }

        .lp-stat-copy span {
            display: block;
            margin-top: 8px;
            color: #6b7a92;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.5;
        }

        .lp-steps-grid,
        .lp-features-grid,
        .lp-courses-grid,
        .lp-testimonials-grid {
            display: grid;
            gap: 16px;
        }

        .lp-steps-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .lp-features-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .lp-courses-grid,
        .lp-testimonials-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .lp-card {
            min-height: 100%;
            padding: 24px;
        }

        .lp-card:hover,
        .lp-course:hover,
        .lp-subject-card:hover,
        .lp-testimonial:hover {
            border-color: #bfdbfe;
            transform: translateY(-6px);
            box-shadow: 0 30px 60px rgba(0, 51, 124, .08), 0 4px 12px rgba(0, 51, 124, .04);
        }

        .lp-mark {
            width: 46px;
            height: 46px;
        }

        .lp-mark::after {
            right: 8px;
            bottom: 8px;
            width: 9px;
            height: 21px;
            box-shadow: -12px 0 0 var(--lp-secondary), -24px 0 0 var(--lp-primary);
        }

        .lp-card-icon {
            width: 44px;
            height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: var(--lp-soft);
            color: var(--lp-primary);
            font-size: 20px;
        }

        .lp-card h3 {
            margin: 16px 0 8px;
            color: var(--lp-ink);
            font-size: 18px;
            font-weight: 650;
        }

        .lp-card p {
            margin: 0;
            color: var(--lp-muted);
            font-size: 14px;
        }

        .lp-step-number {
            width: 44px;
            height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: var(--lp-accent);
            color: var(--lp-primary);
            font-size: 18px;
            font-weight: 650;
        }

        /* ─── How Drosat Works: compact unified journey section ─── */
        #how-it-works {
            padding-block: 42px;
        }

        .lp-how-shell {
            position: relative;
            isolation: isolate;
            overflow: hidden;
            border: 1px solid #cbdff5;
            border-radius: 30px;
            background:
                radial-gradient(circle at 15% 18%, rgba(19, 132, 227, .065), transparent 28%),
                radial-gradient(circle at 86% 85%, rgba(244, 180, 26, .05), transparent 24%),
                linear-gradient(145deg, #ffffff 0%, #fbfdff 52%, #f4f9ff 100%);
            box-shadow:
                0 20px 48px rgba(0, 51, 124, .10),
                0 4px 12px rgba(19, 132, 227, .05);
        }

        .lp-how-shell::before {
            content: "";
            position: absolute;
            z-index: 0;
            right: -8%;
            left: -8%;
            bottom: -86px;
            height: 235px;
            border-radius: 50% 50% 0 0 / 38% 38% 0 0;
            background:
                radial-gradient(80% 105% at 50% 0%, rgba(221, 233, 251, .90) 0%, rgba(239, 246, 255, .70) 52%, rgba(247, 251, 255, .14) 78%, transparent 79%);
            pointer-events: none;
        }

        .lp-how-shell::after {
            content: "";
            position: absolute;
            z-index: 5;
            top: 24px;
            inset-inline-start: 0;
            width: 6px;
            height: 210px;
            border-radius: 999px 0 0 999px;
            background: linear-gradient(180deg,
                    var(--lp-primary) 0 74%,
                    var(--lp-secondary) 74% 86%,
                    var(--lp-accent) 86% 100%);
            box-shadow: 0 2px 8px rgba(0, 51, 124, .16);
        }

        html[dir="ltr"] .lp-how-shell::after {
            border-radius: 0 999px 999px 0;
        }

        .lp-how-hero {
            position: relative;
            z-index: 2;
            min-height: 255px;
            display: grid;
            grid-template-columns: minmax(330px, .92fr) minmax(440px, 1.24fr);
            grid-template-areas: "visual copy";
            align-items: center;
            gap: clamp(24px, 3.2vw, 48px);
            padding: 24px clamp(44px, 4.5vw, 68px) 0;
        }

        /* Arabic: illustration on the left, copy on the right */
        html[dir="rtl"] .lp-how-hero {
            direction: ltr;
            grid-template-areas: "visual copy";
        }

        html[dir="ltr"] .lp-how-hero {
            direction: ltr;
            grid-template-areas: "copy visual";
        }

        .lp-how-copy {
            grid-area: copy;
            width: 100%;
            max-width: 650px;
            justify-self: end;
            text-align: start;
        }

        html[dir="rtl"] .lp-how-copy {
            direction: rtl;
            justify-self: end;
            text-align: right;
        }

        html[dir="ltr"] .lp-how-copy {
            direction: ltr;
            justify-self: start;
            text-align: left;
        }

        .lp-how-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 36px;
            padding: 7px 14px;
            border: 1px solid #d7e7fa;
            border-radius: 12px;
            background: linear-gradient(135deg, #eaf4ff 0%, #f7fbff 100%);
            color: #11539f;
            font-size: 13px;
            font-weight: 800;
            line-height: 1;
            box-shadow: 0 7px 18px rgba(18, 82, 158, .06);
        }

        .lp-how-eyebrow::before {
            content: "✦";
            color: var(--lp-accent);
            font-size: 16px;
            line-height: 1;
        }

        .lp-how-title {
            position: relative;
            margin: 11px 0 12px;
            padding-bottom: 10px;
            color: #071b42;
            font-size: clamp(34px, 3vw, 48px);
            font-weight: 800;
            line-height: 1.16;
            letter-spacing: -.025em;
        }

        .lp-how-title::after {
            content: "";
            position: absolute;
            inset-inline-start: 0;
            bottom: 0;
            width: 52px;
            height: 4px;
            border-radius: 999px;
            background: var(--lp-accent);
        }

        .lp-how-description {
            max-width: 620px;
            margin: 0;
            color: #667795;
            font-size: clamp(14px, 1.05vw, 16px);
            font-weight: 500;
            line-height: 1.72;
        }

        .lp-how-visual {
            grid-area: visual;
            align-self: end;
            justify-self: center;
            width: min(100%, 430px);
            height: 220px;
            margin: 0;
            position: relative;
        }

        .lp-how-visual::after {
            content: "";
            position: absolute;
            z-index: -1;
            left: 9%;
            right: 9%;
            bottom: 4px;
            height: 32px;
            border-radius: 50%;
            background: rgba(32, 91, 178, .08);
            filter: blur(14px);
        }

        .lp-how-visual img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center bottom;
            filter: drop-shadow(0 13px 16px rgba(0, 51, 124, .07));
        }

        .lp-how-flow {
            position: relative;
            z-index: 3;
            padding: 0 clamp(34px, 3.6vw, 52px) 26px;
        }

        .lp-how-flow::before {
            content: "";
            position: absolute;
            z-index: 0;
            top: 68px;
            right: 11%;
            left: 11%;
            border-top: 2px dashed #79a2db;
            opacity: .9;
        }

        .lp-how-steps {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: clamp(24px, 2.8vw, 40px);
            direction: rtl;
        }

        html[dir="ltr"] .lp-how-steps {
            direction: ltr;
        }

        .lp-how-step {
            position: relative;
            min-width: 0;
            min-height: 136px;
            display: grid;
            grid-template-columns: 72px minmax(0, 1fr);
            align-items: center;
            gap: 16px;
            padding: 20px 22px;
            border: 1px solid rgba(214, 227, 244, .88);
            border-radius: 24px;
            background: rgba(255, 255, 255, .94);
            box-shadow:
                0 12px 27px rgba(0, 51, 124, .085),
                inset 0 1px 0 rgba(255, 255, 255, .98);
            backdrop-filter: blur(9px);
            -webkit-backdrop-filter: blur(9px);
            text-align: start;
            transition:
                transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
        }

        .lp-how-step:hover {
            transform: translateY(-4px);
            border-color: #bfd8f4;
            box-shadow:
                0 17px 34px rgba(0, 51, 124, .115),
                inset 0 1px 0 #fff;
        }

        .lp-how-step::after {
            content: "";
            position: absolute;
            z-index: 4;
            top: 50%;
            inset-inline-end: calc(-1 * clamp(19px, 2vw, 30px));
            width: 14px;
            height: 14px;
            border: 3px solid #6794d2;
            border-radius: 50%;
            background: #eef5ff;
            transform: translateY(-50%);
            box-shadow: 0 0 0 5px rgba(219, 232, 250, .62);
        }

        .lp-how-step:last-child::after {
            display: none;
        }

        .lp-how-step-number {
            position: absolute;
            z-index: 6;
            top: -15px;
            inset-inline-end: 24px;
            width: 46px;
            height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 3px solid #fff;
            border-radius: 50%;
            background: linear-gradient(145deg, #ffca41 0%, #f1aa08 100%);
            color: var(--lp-primary);
            font-size: 18px;
            font-weight: 800;
            line-height: 1;
            box-shadow: 0 8px 17px rgba(236, 164, 5, .23);
        }

        .lp-how-step-icon {
            width: 72px;
            height: 72px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #dce8f7;
            border-radius: 20px;
            background: linear-gradient(145deg, #ffffff 0%, #eef5ff 100%);
            color: #2463b7;
            font-size: 30px;
            line-height: 1;
            box-shadow:
                0 9px 19px rgba(0, 51, 124, .09),
                inset 0 1px 0 #fff;
        }

        .lp-how-step:nth-child(2) .lp-how-step-icon {
            color: #174e9d;
        }

        .lp-how-step:nth-child(3) .lp-how-step-icon {
            color: #e9a308;
        }

        .lp-how-step-copy {
            min-width: 0;
        }

        .lp-how-step-copy h3 {
            margin: 0 0 5px;
            color: #071b42;
            font-size: clamp(17px, 1.25vw, 21px);
            font-weight: 800;
            line-height: 1.35;
        }

        .lp-how-step-copy p {
            margin: 0;
            color: #667795;
            font-size: clamp(12px, .95vw, 14px);
            font-weight: 500;
            line-height: 1.65;
        }

        @media (max-width: 1100px) {
            #how-it-works {
                padding-block: 44px;
            }

            .lp-how-hero {
                min-height: auto;
                grid-template-columns: 1fr;
                grid-template-areas:
                    "copy"
                    "visual";
                gap: 6px;
                padding: 32px 34px 0;
            }

            html[dir="ltr"] .lp-how-hero {
                grid-template-areas:
                    "copy"
                    "visual";
            }

            .lp-how-copy {
                max-width: 720px;
                justify-self: center;
                text-align: center;
            }

            html[dir="rtl"] .lp-how-copy,
            html[dir="ltr"] .lp-how-copy {
                justify-self: center;
                text-align: center;
            }

            .lp-how-title::after {
                inset-inline-start: 50%;
                transform: translateX(50%);
            }

            html[dir="ltr"] .lp-how-title::after {
                transform: translateX(-50%);
            }

            .lp-how-description {
                margin-inline: auto;
            }

            .lp-how-visual {
                width: min(100%, 390px);
                height: 215px;
            }

            .lp-how-flow {
                padding-top: 14px;
            }

            .lp-how-flow::before {
                top: 54px;
                right: 50%;
                bottom: 58px;
                left: auto;
                border-top: 0;
                border-right: 2px dashed #79a2db;
            }

            .lp-how-steps {
                width: min(100%, 680px);
                margin-inline: auto;
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .lp-how-step {
                min-height: 132px;
            }

            .lp-how-step::after {
                display: none;
            }
        }

        @media (max-width: 575.98px) {
            #how-it-works {
                padding-block: 36px;
            }

            .lp-how-shell {
                border-radius: 22px;
            }

            .lp-how-shell::after {
                top: 20px;
                width: 5px;
                height: 170px;
            }

            .lp-how-hero {
                grid-template-areas:
                    "copy"
                    "visual" !important;
                gap: 14px;
                padding: 26px 20px 0;
            }

            .lp-how-eyebrow {
                min-height: 34px;
                padding: 7px 12px;
                font-size: 12px;
            }

            .lp-how-title {
                margin: 12px 0 14px;
                padding-bottom: 10px;
                font-size: clamp(29px, 9vw, 38px);
            }

            .lp-how-description {
                font-size: 13px;
                line-height: 1.7;
            }

            .lp-how-visual {
                display: block !important;
                width: min(86vw, 285px);
                height: 175px;
                margin: 2px auto 0;
                opacity: 1;
                visibility: visible;
            }

            .lp-how-visual img {
                display: block !important;
                opacity: 1;
                visibility: visible;
            }

            .lp-how-flow {
                padding: 10px 12px 22px;
            }

            .lp-how-step {
                min-height: 124px;
                grid-template-columns: 62px minmax(0, 1fr);
                gap: 13px;
                padding: 20px 16px;
                border-radius: 20px;
            }

            .lp-how-step-number {
                top: -12px;
                inset-inline-end: 16px;
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .lp-how-step-icon {
                width: 62px;
                height: 62px;
                border-radius: 17px;
                font-size: 27px;
            }

            .lp-how-step-copy h3 {
                margin-bottom: 4px;
                font-size: 17px;
            }

            .lp-how-step-copy p {
                font-size: 12px;
                line-height: 1.6;
            }
        }


        .lp-soft-band {
            background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
            border-top: 1px solid #e2edf8;
            border-bottom: 1px solid #e2edf8;
        }

        .lp-subjects-section {
            position: relative;
            overflow: hidden;
            background:
                linear-gradient(90deg, rgba(255, 255, 255, .78) 1px, transparent 1px),
                linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
            background-size: 56px 56px, auto;
        }

        .lp-subjects-showcase {
            display: grid;
            grid-template-columns: minmax(280px, 326px) minmax(0, 1fr);
            gap: 24px;
            align-items: stretch;
        }

        .lp-subjects-panel {
            position: relative;
            align-self: stretch;
            display: flex;
            flex-direction: column;
            min-width: 0;
            padding: 24px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, .18);
            border-radius: 20px;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 46%),
                linear-gradient(180deg, #00337C 0%, #07306f 58%, #06265f 100%);
            box-shadow: 0 22px 48px rgba(0, 51, 124, .16);
        }

        .lp-subjects-panel::before {
            content: "";
            position: absolute;
            inset-block: 0;
            inset-inline-start: 0;
            width: 6px;
            background: linear-gradient(180deg, var(--lp-accent), var(--lp-secondary));
        }

        .lp-subjects-panel::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(135deg, transparent 0 58%, rgba(255, 255, 255, .07) 58% 59%, transparent 59% 100%),
                linear-gradient(45deg, transparent 0 72%, rgba(244, 180, 26, .12) 72% 73%, transparent 73% 100%);
            pointer-events: none;
        }

        .lp-subjects-head {
            position: relative;
            z-index: 1;
            display: block;
            margin-bottom: 18px;
        }

        .lp-subjects-head .lp-pill {
            background: rgba(244, 180, 26, .16);
            color: #fff;
            border: 1px solid rgba(244, 180, 26, .35);
        }

        .lp-subjects-head .lp-section-title {
            color: #fff;
            font-size: clamp(26px, 3vw, 36px);
            line-height: 1.22;
        }

        .lp-subjects-head .lp-section-copy {
            color: rgba(255, 255, 255, .76);
            font-size: 13px;
            line-height: 1.75;
        }

        .lp-subjects-login {
            width: 100%;
            min-height: 46px;
            margin-top: 18px;
            border-color: rgba(255, 255, 255, .88);
            background: #fff;
            color: var(--lp-primary);
            box-shadow: 0 14px 28px rgba(0, 15, 45, .2);
        }

        .lp-subjects-login:hover,
        .lp-subjects-login:focus {
            border-color: var(--lp-accent);
            background: var(--lp-accent);
            color: var(--lp-primary);
        }

        .lp-subjects-panel-metrics {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px;
            margin: 18px 0;
        }

        .lp-subjects-panel-metric {
            min-width: 0;
            min-height: 74px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 10px;
            border: 1px solid rgba(255, 255, 255, .14);
            border-radius: 13px;
            background: rgba(255, 255, 255, .09);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
        }

        .lp-subjects-panel-metric strong {
            color: #fff;
            font-size: 23px;
            font-weight: 750;
            line-height: 1;
        }

        .lp-subjects-panel-metric small {
            margin-top: 8px;
            color: rgba(255, 255, 255, .66);
            font-size: 10px;
            font-weight: 700;
            line-height: 1.35;
        }

        .lp-subjects-route {
            position: relative;
            z-index: 1;
            display: grid;
            gap: 9px;
            margin: 18px 0 0;
        }

        .lp-subjects-route-step {
            position: relative;
            min-height: 42px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 11px;
            border: 1px solid rgba(255, 255, 255, .12);
            border-radius: 13px;
            background: rgba(255, 255, 255, .075);
            color: rgba(255, 255, 255, .78);
            font-size: 11px;
            font-weight: 700;
            line-height: 1.35;
        }

        .lp-subjects-route-step::before {
            content: "";
            width: 9px;
            height: 9px;
            flex: 0 0 auto;
            border-radius: 999px;
            background: #bfdbfe;
            box-shadow: 0 0 0 5px rgba(191, 219, 254, .12);
        }

        .lp-subjects-route-step:nth-child(2)::before {
            background: #bfdbfe;
            box-shadow: 0 0 0 5px rgba(191, 219, 254, .12);
        }

        .lp-subjects-route-step:nth-child(3)::before {
            background: #bfdbfe;
            box-shadow: 0 0 0 5px rgba(191, 219, 254, .12);
        }

        .lp-stage-strip {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr;
            gap: 9px;
            margin: auto 0 0;
        }

        .lp-stage-strip span {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            min-height: 58px;
            padding: 11px 13px;
            background: rgba(255, 255, 255, .1);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, .14);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
            transition: 0.2s ease;
            cursor: default;
        }

        .lp-stage-strip span:hover {
            border-color: rgba(244, 180, 26, .45);
            background: rgba(255, 255, 255, .14);
            transform: translateY(-2px);
        }

        .lp-stage-strip strong {
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.35;
        }

        .lp-stage-strip small {
            display: block;
            max-width: 150px;
            color: rgba(255, 255, 255, .64);
            font-size: 11px;
            font-weight: 600;
            line-height: 1.55;
            text-align: end;
        }

        .lp-subjects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
            align-content: stretch;
        }

        .lp-subject-card {
            --subject-accent: var(--lp-primary);
            position: relative;
            display: flex;
            min-width: 0;
            min-height: 188px;
            flex-direction: column;
            padding: 18px;
            overflow: hidden;
            isolation: isolate;
            background:
                linear-gradient(160deg, color-mix(in srgb, var(--subject-accent) 3%, #fff) 0%, #fff 42%, #fbfdff 100%);
            border-radius: 16px;
            border: 1px solid rgba(219, 228, 240, .72);
            box-shadow: 0 14px 28px rgba(15, 23, 42, .028), 0 1px 3px rgba(15, 23, 42, .02);
            transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            text-decoration: none;
        }

        .lp-subject-card::before {
            content: "";
            position: absolute;
            inset-inline: 18px;
            top: 0;
            height: 3px;
            border-radius: 0 0 999px 999px;
            background: color-mix(in srgb, var(--subject-accent) 74%, #94a3b8);
            z-index: 2;
        }

        .lp-subject-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(135deg, color-mix(in srgb, var(--subject-accent) 5%, transparent), transparent 40%),
                linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, 0) 48%);
            opacity: .78;
            pointer-events: none;
            z-index: 0;
        }

        .lp-subject-card:hover,
        .lp-subject-card:focus-within {
            transform: translateY(-4px);
            border-color: color-mix(in srgb, var(--subject-accent) 22%, #dbe4f0);
            box-shadow: 0 20px 40px rgba(0, 51, 124, .075), 0 8px 18px rgba(15, 23, 42, .032);
        }

        .lp-subject-top {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 16px;
        }

        .lp-subject-icon {
            width: 44px;
            height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            border-radius: 14px;
            background: color-mix(in srgb, var(--subject-accent) 7%, #fff);
            color: color-mix(in srgb, var(--subject-accent) 84%, #334155);
            font-size: 20px;
            box-shadow:
                inset 0 0 0 1px color-mix(in srgb, var(--subject-accent) 12%, #e2edf8),
                0 10px 18px color-mix(in srgb, var(--subject-accent) 6%, transparent);
            transition: 0.3s ease;
        }

        .lp-subject-card:hover .lp-subject-icon {
            background: color-mix(in srgb, var(--subject-accent) 86%, #334155);
            color: #fff;
            transform: translateY(-2px) scale(1.05);
        }

        .lp-subject-badge {
            max-width: 124px;
            padding: 5px 10px;
            border-radius: 999px;
            background: #f8fbff;
            border: 1px solid #eaf0f7;
            color: #475569;
            font-size: 11px;
            font-weight: 650;
            line-height: 1.3;
            text-align: end;
            box-shadow: 0 8px 14px rgba(15, 23, 42, .025);
        }

        .lp-subject-name {
            position: relative;
            z-index: 1;
            display: block;
            color: var(--lp-ink);
            font-size: 18px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 8px;
            transition: 0.2s ease;
        }

        .lp-subject-card:hover .lp-subject-name {
            color: color-mix(in srgb, var(--subject-accent) 82%, #0f172a);
        }

        .lp-subject-name::after {
            content: "";
            display: block;
            width: 30px;
            height: 3px;
            margin-top: 10px;
            border-radius: 999px;
            background: color-mix(in srgb, var(--subject-accent) 12%, #dbe4f0);
            transition: width .22s ease, background .22s ease;
        }

        .lp-subject-card:hover .lp-subject-name::after {
            width: 54px;
            background: color-mix(in srgb, var(--subject-accent) 74%, #94a3b8);
        }

        .lp-subject-meta {
            position: relative;
            z-index: 1;
            display: block;
            flex: 1;
            color: var(--lp-muted);
            font-size: 13px;
            line-height: 1.6;
            margin-bottom: 16px;
            overflow-wrap: anywhere;
        }

        .lp-subject-open {
            position: relative;
            z-index: 1;
            margin-top: auto;
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            width: 100%;
            padding-top: 12px;
            border-top: 1px solid #eaf0f7;
            color: var(--lp-primary);
            font-size: 13px;
            font-weight: 700;
            transition: 0.2s ease;
        }

        .lp-subject-open i {
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background: color-mix(in srgb, var(--subject-accent) 5%, #f8fbff);
            transition: transform .2s ease;
        }

        .lp-subject-card:hover .lp-subject-open {
            color: color-mix(in srgb, var(--subject-accent) 82%, #0f172a);
            gap: 12px;
        }

        .lp-subject-card:hover .lp-subject-open i {
            transform: translateX(-3px);
        }

        html[dir="ltr"] .lp-subject-card:hover .lp-subject-open i {
            transform: translateX(3px);
        }

        .lp-course {
            overflow: hidden;
            transition: .16s ease;
        }

        .lp-course-media {
            position: relative;
            height: 174px;
            background: var(--lp-soft);
        }

        .lp-course-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            border-radius: 0;
        }

        .lp-course-media::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 51, 124, .04), rgba(0, 51, 124, .12));
            pointer-events: none;
        }

        .lp-pill {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 0 9px;
            border-radius: 8px;
            background: var(--lp-soft);
            color: var(--lp-primary);
            font-size: 12px;
            font-weight: 650;
        }

        .lp-course-media>.lp-pill {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 1;
            background: var(--lp-accent);
        }

        html[dir="rtl"] .lp-course-media>.lp-pill {
            right: auto;
            left: 12px;
        }

        html[dir="rtl"] .feather-arrow-right {
            transform: rotate(180deg);
        }

        .lp-course-body {
            padding: 18px;
        }

        .lp-course h3 {
            margin: 10px 0 14px;
            color: var(--lp-ink);
            font-size: 18px;
            font-weight: 650;
            line-height: 1.3;
        }

        .lp-course p,
        .lp-testimonial p {
            margin: 0;
            color: var(--lp-muted);
            font-size: 14px;
        }

        .lp-course-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding-top: 14px;
            margin-top: 16px;
            border-top: 1px solid var(--lp-line);
        }

        .lp-teacher {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--lp-ink);
            font-size: 13px;
            font-weight: 650;
        }

        .lp-teacher img,
        .lp-testimonial img {
            object-fit: cover;
            border-radius: 8px;
        }

        .lp-teacher img {
            width: 34px;
            height: 34px;
        }

        .lp-testimonial {
            min-height: 100%;
            padding: 18px;
            transition: .16s ease;
        }

        .lp-stars {
            display: flex;
            gap: 3px;
            margin-bottom: 12px;
            color: var(--lp-accent);
            font-size: 14px;
        }

        .lp-testimonial-user {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 18px;
        }

        .lp-testimonial-user img {
            width: 44px;
            height: 44px;
        }

        .lp-testimonial-user strong {
            display: block;
            color: var(--lp-ink);
            font-size: 14px;
            font-weight: 650;
        }

        .lp-testimonial-user span {
            color: var(--lp-muted);
            font-size: 12px;
        }

        .lp-cta {
            position: relative;
            padding: 64px 0;
            background: transparent;
        }

        .lp-cta-inner {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 28px;
            padding: 48px 48px;
            border-radius: 24px;
            background: linear-gradient(135deg, #002866 0%, #00337C 54%, #0c4fa3 100%);
            color: #ffffff;
            box-shadow: 0 24px 54px rgba(0, 51, 124, 0.22);
            border: 1px solid rgba(255, 255, 255, 0.12);
            overflow: hidden;
            isolation: isolate;
        }

        .lp-cta-inner::before {
            content: "";
            position: absolute;
            top: -40%;
            inset-inline-end: -10%;
            width: 380px;
            height: 380px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(19, 132, 227, 0.32) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
        }

        .lp-cta-inner::after {
            content: "";
            position: absolute;
            bottom: -40%;
            inset-inline-start: -10%;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(244, 180, 26, 0.16) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
        }

        .lp-cta-inner>* {
            position: relative;
            z-index: 1;
        }

        .lp-cta h2 {
            margin: 0;
            color: #ffffff;
            font-size: clamp(26px, 3.2vw, 38px);
            font-weight: 700;
            line-height: 1.25;
        }

        .lp-cta p {
            max-width: 620px;
            margin: 10px 0 0;
            color: rgba(255, 255, 255, 0.84);
            font-size: 15px;
            line-height: 1.65;
        }

        .lp-footer {
            padding: 42px 0 20px;
            color: rgba(255, 255, 255, .72);
            background: #061b3e;
        }

        .lp-footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.3fr;
            gap: 24px;
        }

        .lp-footer-logo-wrap {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px 10px;
            margin-bottom: 14px;
            border-radius: 8px;
            background: #fff;
        }

        .lp-footer-logo {
            width: 118px;
            border-radius: 0;
        }

        .lp-footer h3 {
            margin: 0 0 14px;
            color: #fff;
            font-size: 15px;
            font-weight: 650;
        }

        .lp-footer p {
            margin: 0;
            max-width: 360px;
            color: rgba(255, 255, 255, .68);
            font-size: 14px;
        }

        .lp-footer ul {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .lp-footer li+li {
            margin-top: 9px;
        }

        .lp-footer a {
            color: rgba(255, 255, 255, .7);
            font-size: 14px;
            font-weight: 500;
        }

        .lp-footer a:hover,
        .lp-footer a:focus {
            color: var(--lp-accent);
        }

        .lp-newsletter {
            display: flex;
            gap: 8px;
            padding: 8px;
            background: rgba(255, 255, 255, .08);
            border-color: rgba(255, 255, 255, .14);
            box-shadow: none;
        }

        .lp-newsletter input {
            min-width: 0;
            width: 100%;
            border: 0;
            border-radius: 8px;
            padding: 0 12px;
            background: #fff;
            color: var(--lp-ink);
            font-size: 13px;
        }

        .lp-newsletter input:focus {
            outline: 3px solid rgba(19, 132, 227, .22);
        }

        .lp-footer-bottom {
            margin-top: 34px;
            padding-top: 18px;
            border-top: 1px solid rgba(255, 255, 255, .12);
            color: rgba(255, 255, 255, .58);
            font-size: 13px;
            text-align: center;
        }

        .lp-mobile-carousel {
            position: relative;
        }

        .lp-carousel-controls {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 6px;
            width: max-content;
            margin: 10px auto 20px;
            padding: 6px 8px;
            border: 1px solid #d9e6f5;
            border-radius: 999px;
            background: rgba(255, 255, 255, .94);
            box-shadow: 0 12px 30px rgba(0, 51, 124, .09);
        }

        .lp-carousel-btn {
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border: 0;
            border-radius: 50%;
            background: #edf5ff;
            color: var(--lp-primary);
            box-shadow: none;
            transition: .18s ease;
        }

        .lp-carousel-btn:hover,
        .lp-carousel-btn:focus {
            border-color: var(--lp-secondary);
            background: var(--lp-soft);
            color: var(--lp-primary);
            outline: none;
        }

        .lp-carousel-btn:disabled {
            opacity: .38;
            cursor: default;
        }

        .lp-carousel-dots {
            min-width: 66px;
            min-height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 0 7px;
            border: 0;
            background: transparent;
            box-shadow: none;
        }

        .lp-carousel-dot {
            width: 8px;
            height: 8px;
            padding: 0;
            border: 0;
            border-radius: 999px;
            background: #c5d8ef;
            cursor: pointer;
            transition: .18s ease;
        }

        .lp-carousel-dot.is-active {
            width: 22px;
            background: linear-gradient(90deg, var(--lp-primary), var(--lp-secondary));
            box-shadow: 0 3px 8px rgba(19, 132, 227, .22);
        }

        .lp-icon-rtl {
            display: none;
        }

        html[dir="rtl"] .lp-icon-ltr {
            display: none;
        }

        html[dir="rtl"] .lp-icon-rtl {
            display: inline-block;
        }

        @media (min-width: 992px) and (max-width: 1599.98px) {
            .lp-container {
                width: min(1280px, calc(100% - 32px));
            }

            .lp-nav {
                gap: 10px;
                min-height: 68px;
            }

            .lp-logo img {
                width: 104px;
            }

            .lp-links {
                gap: 3px;
            }

            .lp-links a {
                min-height: 40px;
                padding: 7px 8px;
                font-size: 13px;
                line-height: 1.45;
            }

            .lp-actions {
                gap: 7px;
            }

            .lp-lang-toggle,
            .lp-btn {
                min-height: 40px;
                padding: 7px 13px;
                font-size: 13px;
                line-height: 1.4;
            }

            .lp-actions .lp-btn-accent {
                min-width: 94px;
            }

            .lp-hero {
                min-height: min(640px, calc(100vh - 68px));
                padding: 96px 0 54px;
                background-position: center, 57% center, center;
                background-size: cover, min(38vw, 590px) auto, cover;
            }

            html[dir="rtl"] .lp-hero {
                background-position: center, 43% center, center;
            }

            .lp-hero-content {
                width: min(560px, 100%);
            }

            .lp-kicker {
                min-height: 32px;
                font-size: 12px;
            }

            .lp-hero h1 {
                max-width: 560px;
                margin: 16px 0;
                font-size: clamp(34px, 4vw, 50px);
                line-height: 1.08;
            }

            .lp-hero p {
                max-width: 540px;
                font-size: 15px;
            }

            .lp-hero-actions {
                gap: 10px;
                margin: 18px 0;
            }

            .lp-hero-meta {
                max-width: 560px;
                gap: 8px;
                margin-top: 0;
            }

            .lp-hero-chip {
                min-height: 58px;
                padding: 9px 11px;
            }

            .lp-hero-chip strong {
                font-size: 18px;
            }

            .lp-hero-chip span {
                margin-top: 5px;
                font-size: 11px;
            }

            .lp-stats {
                margin-top: -26px;
            }

            .lp-stats-grid,
            .lp-stage-strip {
                gap: 12px;
            }

            .lp-stat {
                min-height: 92px;
                gap: 14px;
                padding: 15px 16px;
                border-radius: 18px;
            }

            .lp-stat-icon {
                font-size: 28px;
            }

            .lp-stat strong {
                font-size: 31px;
            }

            .lp-stat-copy span {
                margin-top: 6px;
                font-size: 13px;
            }

            .lp-subjects-showcase {
                grid-template-columns: minmax(260px, 304px) minmax(0, 1fr);
                gap: 18px;
            }

            .lp-subjects-panel {
                top: auto;
                padding: 20px;
            }

            .lp-subjects-head {
                margin-bottom: 18px;
            }

            .lp-subjects-head .lp-section-title {
                font-size: clamp(24px, 2.6vw, 30px);
            }

            .lp-subjects-login {
                margin-top: 18px;
            }

            .lp-steps-grid,
            .lp-features-grid,
            .lp-courses-grid,
            .lp-testimonials-grid,
            .lp-subjects-grid {
                gap: 12px;
            }

            .lp-card,
            .lp-testimonial {
                padding: 16px;
            }

            .lp-card-icon,
            .lp-step-number,
            .lp-subject-icon,
            .lp-testimonial-user img {
                width: 40px;
                height: 40px;
            }

            .lp-card h3 {
                margin: 13px 0 7px;
                font-size: 17px;
            }

            .lp-card p,
            .lp-course p,
            .lp-testimonial p {
                font-size: 13px;
            }

            .lp-stage-strip {
                margin: 0;
            }

            .lp-stage-strip span {
                min-height: 58px;
                padding: 10px 12px;
            }

            .lp-stage-strip small {
                max-width: 128px;
            }

            .lp-subject-card {
                min-height: 184px;
                padding: 18px;
            }

            .lp-subject-top {
                margin-bottom: 14px;
            }

            .lp-subject-name {
                font-size: 17px;
            }

            .lp-subject-meta {
                margin-bottom: 16px;
                font-size: 12px;
                line-height: 1.5;
            }

            .lp-subject-open {
                margin-top: auto;
                font-size: 12px;
            }

            .lp-course-media {
                height: 148px;
            }

            .lp-course-body {
                padding: 15px;
            }

            .lp-course h3 {
                margin: 8px 0 11px;
                font-size: 17px;
            }

            .lp-course-footer {
                margin-top: 13px;
                padding-top: 12px;
            }

            .lp-cta h2 {
                font-size: clamp(26px, 3vw, 36px);
            }

            .lp-footer {
                padding: 34px 0 18px;
            }
        }


        /* Navbar responsive behavior for compact laptops and tablets */
        @media (min-width: 992px) and (max-width: 1199.98px) {
            .lp-nav {
                min-height: 68px;
            }

            .lp-menu-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                flex: 0 0 42px;
            }

            .lp-links,
            .lp-actions {
                display: none;
            }

            .lp-topbar.is-open .lp-links,
            .lp-topbar.is-open .lp-actions {
                position: absolute;
                left: 20px;
                right: 20px;
                display: grid;
                gap: 8px;
                padding: 12px;
                border: 1px solid var(--lp-line);
                border-radius: 12px;
                background: rgba(255, 255, 255, .985);
                box-shadow: 0 18px 36px rgba(15, 23, 42, .11);
                backdrop-filter: blur(18px);
                -webkit-backdrop-filter: blur(18px);
            }

            .lp-topbar.is-open .lp-links {
                top: 74px;
            }

            .lp-topbar.is-open .lp-actions {
                top: 330px;
            }

            .lp-topbar.is-open .lp-links a,
            .lp-topbar.is-open .lp-actions .lp-btn,
            .lp-topbar.is-open .lp-actions .lp-lang-toggle {
                width: 100%;
                min-height: 44px;
                justify-content: center;
                text-align: center;
                font-size: 14px;
            }
        }

        @media (max-width: 991.98px) {
            .lp-menu-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

            .lp-links,
            .lp-actions {
                display: none;
            }

            .lp-topbar.is-open .lp-links,
            .lp-topbar.is-open .lp-actions {
                position: absolute;
                left: 16px;
                right: 16px;
                display: grid;
                gap: 8px;
                padding: 12px;
                border: 1px solid var(--lp-line);
                border-radius: 8px;
                background: rgba(255, 255, 255, .98);
                box-shadow: 0 18px 36px rgba(15, 23, 42, .1);
            }

            .lp-topbar.is-open .lp-links {
                top: 78px;
            }

            .lp-topbar.is-open .lp-actions {
                top: 334px;
            }

            .lp-topbar.is-open .lp-links a,
            .lp-topbar.is-open .lp-actions .lp-btn,
            .lp-topbar.is-open .lp-actions .lp-lang-toggle {
                width: 100%;
                min-height: 44px;
                justify-content: center;
                text-align: center;
                font-size: 14px;
                line-height: 1.4;
            }

            .lp-hero {
                min-height: auto;
                padding: 112px 0 52px;
                background-color: var(--lp-primary);
                background-image: linear-gradient(90deg, rgba(0, 51, 124, .96) 0%, rgba(0, 51, 124, .9) 100%),
                url("../images/drosat-student-dashboard-devices.webp");
                background-repeat: no-repeat;
                background-position: center, right -120px bottom -80px;
                background-size: cover, 520px auto;
            }

            html[dir="rtl"] .lp-hero {
                background-image: linear-gradient(270deg, rgba(0, 51, 124, .96) 0%, rgba(0, 51, 124, .9) 100%),
                url("../images/drosat-student-dashboard-devices.webp");
                background-position: center, left -120px bottom -80px;
            }

            .lp-section {
                padding: 44px 0;
            }

            .lp-hero-meta,
            .lp-stats-grid,
            .lp-steps-grid,
            .lp-features-grid,
            .lp-subjects-grid,
            .lp-courses-grid,
            .lp-testimonials-grid,
            .lp-footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .lp-subjects-showcase {
                display: block;
            }

            .lp-subjects-panel {
                position: relative;
                top: auto;
                margin-bottom: 18px;
            }

            .lp-subjects-route {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .lp-subjects-panel .lp-stage-strip {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .lp-subjects-panel .lp-stage-strip span {
                align-items: flex-start;
                flex-direction: column;
                justify-content: flex-start;
            }

            .lp-subjects-panel .lp-stage-strip small {
                max-width: none;
                text-align: start;
            }

            .lp-cta-inner,
            .lp-section-head {
                align-items: flex-start;
                flex-direction: column;
            }
        }

        @media (max-width: 575.98px) {
            .lp-container {
                width: min(100% - 24px, 1440px);
            }

            .lp-cta {
                padding: 36px 0;
            }

            .lp-cta-inner {
                padding: 32px 22px;
                border-radius: 18px;
            }

            .lp-hero-meta,
            .lp-stats-grid,
            .lp-steps-grid,
            .lp-features-grid,
            .lp-subjects-grid,
            .lp-courses-grid,
            .lp-testimonials-grid,
            .lp-footer-grid {
                grid-template-columns: 1fr;
            }

            .lp-newsletter {
                flex-direction: column;
            }

            .lp-newsletter input,
            .lp-newsletter .lp-btn {
                min-height: 42px;
                width: 100%;
            }

            .lp-subjects-section {
                background-size: 42px 42px, auto;
            }

            .lp-subjects-panel {
                padding: 22px 18px;
                border-radius: 16px;
            }

            .lp-subjects-route {
                grid-template-columns: 1fr;
            }

            .lp-subjects-head .lp-section-title {
                font-size: 26px;
            }

            .lp-subjects-head .lp-section-copy {
                font-size: 13px;
            }

            .lp-subjects-panel .lp-stage-strip {
                grid-template-columns: 1fr;
            }

            .lp-subject-card {
                min-height: 190px;
            }

            .lp-subject-badge {
                max-width: 118px;
            }

            .lp-mobile-carousel [data-carousel-track] {
                display: flex;
                grid-template-columns: none;
                gap: 12px;
                overflow-x: auto;
                overscroll-behavior-x: contain;
                padding: 3px 8px 12px;
                scroll-padding-inline: 8px;
                scroll-snap-type: x mandatory;
                scrollbar-width: none;
                -webkit-overflow-scrolling: touch;
            }

            .lp-mobile-carousel [data-carousel-track]::-webkit-scrollbar {
                display: none;
            }

            .lp-mobile-carousel [data-carousel-track]>* {
                flex: 0 0 calc(100% - 24px);
                scroll-snap-align: center;
            }

            .lp-carousel-controls {
                display: flex;
            }

            .lp-stats {
                margin-top: -24px;
            }

            .lp-stat {
                min-height: 110px;
                gap: 14px;
                padding: 18px 20px;
                text-align: start;
                background:
                    radial-gradient(circle at 12% 18%, rgba(19, 132, 227, .08), transparent 34%),
                    linear-gradient(145deg, #fff 0%, #f8fbff 100%);
            }

            html[dir="rtl"] .lp-stat {
                background:
                    radial-gradient(circle at 12% 18%, rgba(19, 132, 227, .08), transparent 34%),
                    linear-gradient(145deg, #fff 0%, #f8fbff 100%);
            }

            .lp-stat::before {
                content: "";
                position: absolute;
                inset-inline: 0;
                top: 0;
                height: 5px;
                background:
                    linear-gradient(90deg,
                        var(--lp-primary),
                        var(--lp-secondary) 72%,
                        var(--lp-accent) 100%);
            }

            .lp-stat-icon {
                font-size: 28px;
            }

            .lp-stat strong {
                font-size: 32px;
            }

            .lp-stat-copy span {
                font-size: 13px;
            }

            .lp-step-card {
                min-height: 218px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 26px 24px;
                overflow: hidden;
                background:
                    radial-gradient(circle at 16% 12%, rgba(244, 180, 26, .13), transparent 34%),
                    linear-gradient(145deg, #fff 0%, #f9fbff 100%);
            }

            html[dir="rtl"] .lp-step-card {
                background:
                    radial-gradient(circle at 84% 12%, rgba(244, 180, 26, .13), transparent 34%),
                    linear-gradient(215deg, #fff 0%, #f9fbff 100%);
            }

            .lp-step-card::before {
                content: "";
                position: absolute;
                inset-block: 0;
                inset-inline-start: 0;
                width: 5px;
                background: linear-gradient(180deg, var(--lp-primary), var(--lp-secondary) 68%, var(--lp-accent) 68%);
            }

            .lp-step-card .lp-step-number {
                position: absolute;
                top: 24px;
                inset-inline-end: 24px;
                width: 48px;
                height: 48px;
                border-radius: 14px;
                box-shadow: 0 14px 28px rgba(244, 180, 26, .22);
            }

            .lp-step-card h3 {
                margin-top: 58px;
                font-size: 21px;
            }

            .lp-step-card p {
                font-size: 14px;
                line-height: 1.75;
            }
        }

        /* ─── Teacher Registration Modal ─── */
        .tm-modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 99999;
            background: rgba(3, 18, 38, 0.75);
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease, visibility 0.25s ease;
        }

        .tm-modal-overlay.is-active {
            opacity: 1;
            visibility: visible;
        }

        .tm-modal-card {
            position: relative;
            width: 100%;
            max-width: 480px;
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            border: 1px solid #e2e8f0;
            overflow: hidden;
            transform: translateY(20px) scale(0.96);
            transition: transform 0.25s ease;
        }

        .tm-modal-overlay.is-active .tm-modal-card {
            transform: translateY(0) scale(1);
        }

        .tm-modal-header {
            position: relative;
            padding: 24px 24px 16px;
            text-align: center;
            border-bottom: 1px solid #f1f5f9;
        }

        .tm-modal-header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #00337C, #1384E3, #F4B41A);
        }

        .tm-modal-close {
            position: absolute;
            top: 16px;
            inset-inline-end: 16px;
            width: 32px;
            height: 32px;
            border: 0;
            border-radius: 8px;
            background: #f1f5f9;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            pointer-events: auto;
            transition: background 0.16s, color 0.16s;
        }

        .tm-modal-close * {
            pointer-events: none;
        }

        .tm-modal-close:hover {
            background: #e2e8f0;
            color: #0f172a;
        }

        .tm-modal-title {
            color: #00337C;
            font-size: 20px;
            font-weight: 700;
            margin: 8px 0 4px;
        }

        .tm-modal-subtitle {
            color: #64748b;
            font-size: 13px;
            margin: 0;
        }

        .tm-modal-body {
            padding: 20px 24px 24px;
        }

        .tm-form-group {
            margin-bottom: 14px;
        }

        .tm-form-label {
            display: block;
            color: #1e293b;
            font-size: 12.5px;
            font-weight: 650;
            margin-bottom: 6px;
        }

        .tm-form-control {
            width: 100%;
            min-height: 44px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            padding: 9px 12px;
            font-size: 13px;
            color: #0f172a;
            background: #f8fafc;
            transition: border-color 0.16s, background-color 0.16s;
        }

        .tm-form-control:focus {
            outline: 0;
            border-color: #1384E3;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(19, 132, 227, 0.12);
        }

        textarea.tm-form-control {
            min-height: 80px;
            resize: vertical;
        }

        .tm-file-help { display:block; margin-top:5px; color:#718096; font-size:11px; line-height:1.5; }
        .tm-form-control[type="file"] { padding:8px 10px; background:#f8fbff; }

        .tm-submit-btn {
            width: 100%;
            min-height: 46px;
            border: 0;
            border-radius: 10px;
            background: linear-gradient(135deg, #00337C 0%, #1384E3 100%);
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(0, 51, 124, 0.2);
            transition: transform 0.16s, box-shadow 0.16s;
        }

        .tm-submit-btn:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 14px 26px rgba(0, 51, 124, 0.25);
        }

        .tm-alert-error {
            padding: 10px 12px;
            border-radius: 8px;
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #b91c1c;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 14px;
            display: none;
        }

        .tm-success-state {
            text-align: center;
            padding: 24px 12px;
        }

        .tm-success-icon {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: #ecfdf5;
            color: #059669;
            font-size: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
        }

        /* =========================================================
           FINAL STATISTICS OVERRIDE
           Icon fixed on the left, content on the right
        ========================================================== */
        .lp-stats {
            margin-top: -34px;
        }

        .lp-stats-grid {
            gap: 14px;
        }

        .lp-stat {
            position: relative;
            min-height: 98px;
            display: block;
            padding: 18px 22px 18px 82px;
            overflow: hidden;
            border: 1px solid #d9e5f3;
            border-radius: 20px;
            background:
                linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
            box-shadow:
                0 16px 34px rgba(0, 51, 124, .065),
                0 2px 8px rgba(15, 23, 42, .025);
            direction: ltr !important;
            transition:
                transform .24s ease,
                border-color .24s ease,
                box-shadow .24s ease;
        }

        .lp-stat:hover {
            transform: translateY(-4px);
            border-color: #bdd8f5;
            box-shadow:
                0 22px 42px rgba(0, 51, 124, .11),
                0 4px 12px rgba(15, 23, 42, .035);
        }

        .lp-stat::before {
            content: "";
            position: absolute;
            inset-inline: 0;
            top: 0;
            height: 4px;
            background: linear-gradient(90deg,
                    #0b4fa8 0%,
                    var(--lp-secondary) 72%,
                    var(--lp-accent) 100%);
        }

        .lp-stat::after {
            content: "";
            position: absolute;
            left: -46px;
            top: 50%;
            width: 132px;
            height: 132px;
            border-radius: 50%;
            background: radial-gradient(circle,
                    rgba(19, 132, 227, .075) 0%,
                    rgba(19, 132, 227, .025) 44%,
                    transparent 70%);
            transform: translateY(-50%);
            pointer-events: none;
        }

        .lp-stat-icon {
            position: absolute !important;
            z-index: 3;
            left: 24px !important;
            right: auto !important;
            top: 50% !important;
            width: auto !important;
            height: auto !important;
            min-width: 0 !important;
            min-height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            flex: none !important;
            border: 0 !important;
            border-radius: 0 !important;
            background: none !important;
            background-color: transparent !important;
            box-shadow: none !important;
            color: #1384e3;
            font-size: 35px !important;
            line-height: 1 !important;
            transform: translateY(-50%);
        }

        .lp-stat-icon i {
            display: block;
            width: auto !important;
            height: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            border-radius: 0 !important;
            background: none !important;
            box-shadow: none !important;
            font-size: inherit !important;
            line-height: 1 !important;
        }

        .lp-stat-icon i::before {
            display: block;
            line-height: 1 !important;
        }

        .lp-stat-copy {
            position: relative;
            z-index: 2;
            width: 100%;
            min-width: 0;
            padding: 0 !important;
            margin: 0 !important;
            direction: rtl !important;
            text-align: right !important;
        }

        html[dir="ltr"] .lp-stat-copy {
            direction: ltr !important;
            text-align: left !important;
        }

        .lp-stat strong {
            display: block;
            margin: 0;
            color: #073b84;
            font-size: 30px;
            font-weight: 800;
            line-height: 1.05;
            letter-spacing: -.02em;
        }

        .lp-stat-copy span {
            display: block;
            margin-top: 7px;
            color: #6b7b92;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.45;
        }

        .lp-stat:nth-child(1) .lp-stat-icon {
            color: #1384e3;
        }

        .lp-stat:nth-child(2) .lp-stat-icon {
            color: #0c6bcf;
        }

        .lp-stat:nth-child(3) .lp-stat-icon {
            color: #2364aa;
        }

        .lp-stat:nth-child(4) .lp-stat-icon {
            color: #0c4fa3;
        }

        @media (min-width: 992px) and (max-width: 1599.98px) {
            .lp-stat {
                min-height: 94px;
                padding: 16px 18px 16px 72px;
                border-radius: 18px;
            }

            .lp-stat-icon {
                left: 20px !important;
                font-size: 31px !important;
            }

            .lp-stat strong {
                font-size: 28px;
            }

            .lp-stat-copy span {
                margin-top: 6px;
                font-size: 12.5px;
            }
        }

        @media (max-width: 991.98px) {
            .lp-stats-grid {
                gap: 12px;
            }

            .lp-stat {
                min-height: 96px;
                padding: 17px 18px 17px 72px;
            }

            .lp-stat-icon {
                left: 20px !important;
                font-size: 31px !important;
            }

            .lp-stat strong {
                font-size: 29px;
            }
        }

        @media (max-width: 575.98px) {
            .lp-stat {
                min-height: 92px;
                padding: 16px 16px 16px 68px;
                text-align: start;
            }

            .lp-stat-icon {
                left: 18px !important;
                font-size: 29px !important;
            }

            .lp-stat strong {
                font-size: 28px;
            }

            .lp-stat-copy span {
                font-size: 12.5px;
            }
        }


        /* =========================================================
           SUBJECTS SIDEBAR + CARDS ALIGNMENT OVERRIDE
        ========================================================== */

        /* Separate the learning route from the stage cards as two clear groups. */
        .lp-subjects-panel .lp-stage-strip {
            margin-top: 18px;
        }

        .lp-subjects-panel .lp-stage-strip span:last-child {
            margin-top: 0;
        }

        /* Center Browse Subjects card text */
        .lp-subject-card {
            text-align: center;
        }

        .lp-subject-name,
        .lp-subject-meta {
            width: 100%;
            text-align: center;
        }

        .lp-subject-name::after {
            margin-inline: auto;
        }

        .lp-subject-badge {
            text-align: center;
        }

        .lp-subject-open {
            justify-content: center;
            text-align: center;
        }

        .lp-subject-open span {
            text-align: center;
        }
