/* ==========================================================================
   PREMIUM MONTESSORI REDESIGN
   ========================================================================== */

:root {
    /* Color Palette */
    --cream: #FAF7F2;
    --cream-deep: #F0EBE0;
    --gold: #5786c7;
    --gold-light: #AAC8F2;
    --gold-dark: #466aa8;
    --navy: #0F2044;
    --navy-mid: #1A3660;
    --sage: #7A9E7E;
    --terracotta: #C4703A;
    --warm-orange: #E8943A;
    --muted-blue: #4A7BA3;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Cairo', sans-serif;
    
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(15, 32, 68, 0.05);
    --shadow-medium: 0 15px 40px rgba(15, 32, 68, 0.08);
    --shadow-gold: 0 10px 25px rgba(87, 134, 199, 0.22);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --deep-green: #1B3D2F;
    --deep-green-mid: #245A45;
    
    /* Spacing scale (px) */
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;
    --space-40: 40px;
    --space-48: 48px;
    --space-64: 64px;
    --space-80: 80px;
    --section-y: clamp(3rem, 6vw, 5.5rem);

    /* Animated blue “pupil” / particle field (global) */
    --pupil-blue-deep: rgba(15, 32, 68, 0.11);
    --pupil-blue-mid: rgba(26, 54, 96, 0.13);
    --pupil-blue-soft: rgba(74, 123, 163, 0.11);
    --pupil-blue-bright: rgba(37, 99, 235, 0.07);
    --pupil-dot: rgba(26, 54, 96, 0.28);
    --pupil-dot-soft: rgba(37, 99, 235, 0.18);
}

html {
    scroll-behavior: smooth;
    background-color: var(--cream);
}

/* Fixed DOM layers (see app.blade.php) — reliable vs. body::-1 stacking under #app */
.premium-pupil-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.premium-pupil-bg--aurora {
    width: 220vmax;
    height: 220vmax;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    margin: -110vmax 0 0 -110vmax;
    background: conic-gradient(
        from 45deg at 50% 50%,
        rgba(37, 99, 235, 0.12) 0deg,
        rgba(250, 247, 242, 0.05) 55deg,
        rgba(74, 123, 163, 0.14) 110deg,
        rgba(87, 134, 199, 0.08) 165deg,
        rgba(37, 99, 235, 0.11) 220deg,
        rgba(15, 32, 68, 0.08) 285deg,
        rgba(37, 99, 235, 0.12) 360deg
    );
    opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) {
    .premium-pupil-bg--aurora {
        animation: bgAuroraRotate 70s linear infinite;
    }
}

@keyframes bgAuroraRotate {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .premium-pupil-bg--aurora {
        animation: none !important;
    }
}

body.dark .premium-pupil-bg--aurora {
    opacity: 0.1;
    animation: none !important;
}
/* Typography rhythm (Arabic-friendly line height) */
body .section-hint,
body p.lead-premium {
    line-height: 1.85;
}

h1, h2, h3, .section-title {
    letter-spacing: -0.02em;
}

.display-serif {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0;
}

/* Global Setup */
body {
    background-color: var(--cream);
    color: var(--navy);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#app {
    position: relative;
    z-index: 1;
}

/* Extra ambient blobs (below #app — see app.blade.php) — جميع صفحات الواجهة */
.premium-home-bg-accent {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.premium-home-bg-accent__layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(92px);
    opacity: 0.44;
    will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
    body:not(.dark) .premium-home-bg-accent__layer--a {
        width: min(520px, 62vw);
        height: min(520px, 62vw);
        top: -8%;
        left: -14%;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.42) 0%, transparent 68%);
        animation: premiumHomeAccentDriftA 56s ease-in-out infinite alternate;
    }

    body:not(.dark) .premium-home-bg-accent__layer--b {
        width: min(480px, 55vw);
        height: min(480px, 55vw);
        bottom: -6%;
        right: -12%;
        background: radial-gradient(circle, rgba(87, 134, 199, 0.38) 0%, transparent 70%);
        animation: premiumHomeAccentDriftB 62s ease-in-out infinite alternate;
    }

    body:not(.dark) .premium-home-bg-accent__layer--c {
        width: min(420px, 50vw);
        height: min(420px, 50vw);
        top: 38%;
        left: 28%;
        background: radial-gradient(circle, rgba(74, 123, 163, 0.3) 0%, transparent 72%);
        animation: premiumHomeAccentDriftC 48s ease-in-out infinite alternate;
    }
}

body.dark .premium-home-bg-accent__layer {
    opacity: 0.09;
}

@media (prefers-reduced-motion: reduce) {
    .premium-home-bg-accent__layer {
        animation: none !important;
        opacity: 0.22;
    }

    body.dark .premium-home-bg-accent__layer {
        opacity: 0.05;
    }
}

@keyframes premiumHomeAccentDriftA {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(36px, 48px) scale(1.1);
    }
}

@keyframes premiumHomeAccentDriftB {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-42px, -32px) scale(1.08);
    }
}

@keyframes premiumHomeAccentDriftC {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(28px, -40px) scale(1.06);
    }
}

/* Premium home — carousel dots on navy capsule (readable on cream + light testimonial boards) */
body.is-home-page .premium-swiper-dots-shell.swiper-pagination {
    position: relative !important;
    inset: auto !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    row-gap: 2px;
    width: fit-content !important;
    max-width: min(640px, 100%);
    min-height: 2.05rem;
    margin: 1rem auto 0 !important;
    padding: 0.36rem 0.92rem !important;
    border-radius: 999px;
    background: linear-gradient(145deg, #0b1f4a 0%, #142b5f 52%, #071435 100%);
    box-shadow:
        0 10px 28px rgba(4, 12, 32, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.is-home-page .premium-latest-swiper-wrapper .premium-swiper-dots-shell.swiper-pagination,
body.is-home-page .premium-products-frame .premium-swiper-dots-shell.swiper-pagination,
body.is-home-page .premium-blog-frame .premium-swiper-dots-shell.swiper-pagination,
body.is-home-page .premium-instructors-frame .premium-swiper-dots-shell.swiper-pagination,
body.is-home-page .premium-graduate-videos-swiper .premium-swiper-dots-shell.swiper-pagination {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: -2px !important;
    top: auto !important;
    margin-top: 0 !important;
}

body.is-home-page .premium-testimonials-pagination-wrap .premium-swiper-dots-shell.swiper-pagination {
    margin-top: 0.72rem !important;
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-swiper-dots-shell .swiper-pagination-bullet {
        transition: none !important;
    }
}

body.is-home-page .premium-swiper-dots-shell .swiper-pagination-bullet {
    width: 11px !important;
    height: 11px !important;
    margin: 0 6px !important;
    opacity: 1 !important;
    vertical-align: middle;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.22) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.is-home-page .premium-swiper-dots-shell .swiper-pagination-bullet-active {
    background: #ffffff !important;
    border-color: rgba(87, 134, 199, 0.95) !important;
    transform: scale(1.15);
    box-shadow:
        0 0 0 2px rgba(87, 134, 199, 0.45),
        0 3px 10px rgba(0, 0, 0, 0.28);
}

body.dark.is-home-page .premium-swiper-dots-shell.swiper-pagination {
    background: linear-gradient(145deg, #050c1c 0%, #0e1a32 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

body.dark.is-home-page .premium-swiper-dots-shell .swiper-pagination-bullet {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12) !important;
}

body.dark.is-home-page .premium-swiper-dots-shell .swiper-pagination-bullet-active {
    background: #fff !important;
}

/* Flowing mesh + gold accent orb */
.premium-pupil-bg--mesh {
    background:
        linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%),
        radial-gradient(ellipse 120% 90% at 10% 5%, var(--pupil-blue-bright) 0%, transparent 58%),
        radial-gradient(ellipse 100% 85% at 92% 95%, var(--pupil-blue-deep) 0%, transparent 55%),
        radial-gradient(ellipse 80% 70% at 48% 42%, var(--pupil-blue-soft) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 12%, rgba(87, 134, 199, 0.065) 0%, transparent 48%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 130% 130%, 125% 125%, 110% 110%, 140% 140%;
    background-position: 0 0, 0 0, 100% 100%, 50% 50%, 80% 0%;
}

@media (prefers-reduced-motion: no-preference) {
    .premium-pupil-bg--mesh {
        animation: pupilBlueField 40s ease-in-out infinite, pupilGoldShimmer 52s ease-in-out infinite;
    }
}

@keyframes pupilBlueField {
    0%, 100% {
        background-position: 0 0, 0 0, 100% 100%, 50% 50%, 80% 0%;
    }
    25% {
        background-position: 0 0, 8% 6%, 92% 94%, 44% 58%, 86% 10%;
    }
    50% {
        background-position: 0 0, 12% 14%, 88% 86%, 56% 44%, 72% 18%;
    }
    75% {
        background-position: 0 0, -4% 10%, 104% 90%, 52% 48%, 92% -6%;
    }
}

/* Matches 6-layer home mesh (cream + five radials) */
@keyframes pupilBlueFieldHome {
    0%, 100% {
        background-position: 0 0, 0 0, 100% 100%, 50% 50%, 78% 0%, 14% 100%;
    }
    25% {
        background-position: 0 0, 8% 6%, 92% 94%, 44% 58%, 86% 10%, 10% 96%;
    }
    50% {
        background-position: 0 0, 12% 14%, 88% 86%, 56% 44%, 72% 18%, 18% 104%;
    }
    75% {
        background-position: 0 0, -4% 10%, 104% 90%, 52% 48%, 92% -6%, 8% 88%;
    }
}

@keyframes pupilGoldShimmer {
    0%, 100% {
        filter: hue-rotate(0deg) saturate(1);
        opacity: 1;
    }
    50% {
        filter: hue-rotate(14deg) saturate(1.15);
        opacity: 0.97;
    }
}

@keyframes pupilGoldShimmerHome {
    0%, 100% {
        filter: hue-rotate(0deg) saturate(1.05);
        opacity: 1;
    }
    50% {
        filter: hue-rotate(18deg) saturate(1.28);
        opacity: 0.98;
    }
}

/* Floating blue pupil-dots — calm on inner pages, slightly richer on home */
.premium-pupil-bg--speckles {
    opacity: 0.62;
    background-image:
        radial-gradient(circle at center, var(--pupil-dot) 0%, var(--pupil-dot-soft) 28%, transparent 55%),
        radial-gradient(circle at center, var(--pupil-dot-soft) 0%, rgba(74, 123, 163, 0.12) 32%, transparent 58%),
        radial-gradient(circle at center, rgba(15, 32, 68, 0.32) 0%, transparent 52%),
        radial-gradient(circle at center, rgba(37, 99, 235, 0.22) 0%, transparent 50%),
        radial-gradient(circle at center, var(--pupil-dot) 0%, transparent 48%),
        radial-gradient(2.5px 2.5px at 18% 22%, rgba(26, 54, 96, 0.45), transparent),
        radial-gradient(3px 3px at 72% 16%, rgba(37, 99, 235, 0.35), transparent),
        radial-gradient(2px 2px at 44% 8%, rgba(26, 54, 96, 0.38), transparent),
        radial-gradient(3.5px 3.5px at 88% 38%, rgba(74, 123, 163, 0.32), transparent),
        radial-gradient(2.5px 2.5px at 12% 55%, rgba(37, 99, 235, 0.28), transparent),
        radial-gradient(3px 3px at 63% 52%, rgba(15, 32, 68, 0.34), transparent),
        radial-gradient(2px 2px at 30% 72%, rgba(74, 123, 163, 0.3), transparent),
        radial-gradient(3px 3px at 91% 68%, rgba(26, 54, 96, 0.36), transparent),
        radial-gradient(2.5px 2.5px at 55% 88%, rgba(37, 99, 235, 0.26), transparent),
        radial-gradient(2px 2px at 8% 88%, rgba(26, 54, 96, 0.32), transparent),
        radial-gradient(3px 3px at 38% 48%, rgba(74, 123, 163, 0.28), transparent),
        radial-gradient(2.5px 2.5px at 81% 12%, rgba(15, 32, 68, 0.3), transparent),
        radial-gradient(2px 2px at 25% 35%, rgba(37, 99, 235, 0.24), transparent),
        radial-gradient(3px 3px at 50% 18%, rgba(26, 54, 96, 0.33), transparent),
        radial-gradient(2px 2px at 96% 82%, rgba(74, 123, 163, 0.27), transparent),
        radial-gradient(1.6px 1.6px at 66% 28%, rgba(255, 255, 255, 0.65), transparent),
        radial-gradient(1.2px 1.2px at 33% 62%, rgba(186, 230, 253, 0.55), transparent),
        radial-gradient(1.5px 1.5px at 52% 91%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.2px 1.2px at 15% 40%, rgba(147, 197, 253, 0.55), transparent);
    background-size:
        22px 22px, 16px 16px, 11px 11px, 14px 14px, 18px 18px,
        100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
        100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
        100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
        100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-position:
        11% 17%, 76% 24%, 34% 41%, 61% 63%, 89% 11%,
        0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0,
        0 0, 0 0, 0 0, 0 0;
    background-repeat: no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
    .premium-pupil-bg--speckles {
        animation:
            pupilBlueDrift 30s ease-in-out infinite,
            pupilBlueFloat 22s ease-in-out infinite,
            pupilSparkle 9s ease-in-out infinite;
    }
}

@keyframes pupilBlueDrift {
    0%, 100% {
        background-position:
            11% 17%, 76% 24%, 34% 41%, 61% 63%, 89% 11%,
            0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0,
            0 0, 0 0, 0 0, 0 0;
    }
    33% {
        background-position:
            15% 21%, 71% 28%, 40% 38%, 56% 68%, 84% 16%,
            0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0,
            0 0, 0 0, 0 0, 0 0;
    }
    66% {
        background-position:
            8% 14%, 80% 20%, 30% 46%, 66% 58%, 92% 8%,
            0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0,
            0 0, 0 0, 0 0, 0 0;
    }
}

@keyframes pupilBlueFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    40% {
        transform: translate(-8px, 10px) scale(1.02) rotate(0.35deg);
    }
    70% {
        transform: translate(6px, -7px) scale(1.012) rotate(-0.2deg);
    }
}

@keyframes pupilSparkle {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    40% {
        filter: brightness(1.18) saturate(1.08);
    }
    65% {
        filter: brightness(1.08) saturate(1.04);
    }
}

@keyframes pupilBlueFloatHome {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    40% {
        transform: translate(-14px, 18px) scale(1.03) rotate(0.45deg);
    }
    75% {
        transform: translate(9px, -10px) scale(1.015) rotate(-0.3deg);
    }
}

/* Home + inner pages: saturated aurora shows through translucent mesh — light mode only */
body:not(.dark) .premium-pupil-bg--aurora {
    background: conic-gradient(
        from 38deg at 50% 50%,
        rgba(37, 99, 235, 0.12) 0deg,
        rgba(232, 148, 58, 0.065) 48deg,
        rgba(74, 123, 163, 0.145) 102deg,
        rgba(87, 134, 199, 0.1) 158deg,
        rgba(196, 112, 58, 0.06) 208deg,
        rgba(37, 99, 235, 0.11) 262deg,
        rgba(15, 32, 68, 0.08) 312deg,
        rgba(250, 245, 236, 0.14) 360deg
    );
    opacity: 0.58;
}

@media (prefers-reduced-motion: no-preference) {
    body:not(.dark) .premium-pupil-bg--aurora {
        animation-duration: 40s;
        opacity: 0.62;
    }
}

body:not(.dark) .premium-pupil-bg--mesh {
    background:
        linear-gradient(180deg, rgba(250, 247, 242, 0.58) 0%, rgba(240, 235, 224, 0.52) 100%),
        radial-gradient(ellipse 128% 96% at 6% 0%, rgba(37, 99, 235, 0.2) 0%, transparent 56%),
        radial-gradient(ellipse 112% 92% at 96% 100%, rgba(26, 54, 96, 0.2) 0%, transparent 52%),
        radial-gradient(ellipse 88% 78% at 50% 38%, rgba(74, 123, 163, 0.18) 0%, transparent 46%),
        radial-gradient(ellipse 54% 44% at 68% 4%, rgba(87, 134, 199, 0.14) 0%, transparent 44%),
        radial-gradient(ellipse 45% 40% at 22% 88%, rgba(232, 148, 58, 0.08) 0%, transparent 50%);
    background-size: 100% 100%, 130% 130%, 126% 126%, 112% 112%, 146% 146%, 120% 120%;
    background-position: 0 0, 0 0, 100% 100%, 50% 50%, 78% 0%, 14% 100%;
}

@media (prefers-reduced-motion: no-preference) {
    body:not(.dark) .premium-pupil-bg--mesh {
        animation:
            pupilBlueFieldHome 30s ease-in-out infinite,
            pupilGoldShimmerHome 42s ease-in-out infinite;
    }

    body:not(.dark) .premium-pupil-bg--speckles {
        opacity: 0.18;
        animation:
            pupilBlueDrift 20s ease-in-out infinite,
            pupilBlueFloatHome 14s ease-in-out infinite,
            pupilSparkle 5.5s ease-in-out infinite;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-pupil-bg--mesh,
    .premium-pupil-bg--speckles {
        animation: none !important;
    }

    body:not(.dark) .premium-pupil-bg--speckles {
        opacity: 0.14;
    }
}

/* Inner pages + home: grid / orbs / glitter / bubbles (above mesh) — light mode */
body:not(.dark) .premium-pupil-bg--grid {
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(15, 32, 68, 0.011) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 32, 68, 0.011) 1px, transparent 1px),
        linear-gradient(rgba(87, 134, 199, 0.0055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(87, 134, 199, 0.0055) 1px, transparent 1px);
}

@media (prefers-reduced-motion: no-preference) {
    body:not(.dark) .premium-pupil-bg--grid {
        animation-duration: 62s;
    }
}

body:not(.dark) .premium-pupil-bg--orbs {
    filter: brightness(1.07) saturate(1.32);
}

body:not(.dark) .premium-pupil-bg--glitter {
    filter: saturate(1.28) brightness(1.05);
}

body:not(.dark) .bubbles-container .bubble {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), rgba(87, 134, 199, 0.24));
    border-color: rgba(87, 134, 199, 0.32);
    box-shadow: 0 0 18px rgba(87, 134, 199, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.12);
}

body.dark .premium-pupil-bg--mesh,
body.dark .premium-pupil-bg--speckles {
    opacity: 0.14;
    animation: none !important;
}

h1, h2, h3, h4, h5, h6, .section-title {
    font-family: var(--font-body);
    color: var(--navy);
}

.text-gold {
    color: var(--gold) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-cream {
    background-color: var(--cream) !important;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-soft);
}

.glass-dark {
    background: rgba(15, 32, 68, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-premium:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(87, 134, 199, 0.3);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-outline-premium {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: var(--radius-pill);
    padding: 10px 28px;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-outline-premium:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Smooth Scroll Reveals */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Section Title Enhancements */
.section-title-premium {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--navy);
    font-weight: 800;
}

.section-title-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.rtl .section-title-premium::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* Section shells (home and global marketing blocks) */
.section-premium {
    position: relative;
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.section-skin-cream {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
    color: var(--navy);
}

.section-skin-navy {
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
}

.section-skin-navy .section-title,
.section-skin-navy h1,
.section-skin-navy h2,
.section-skin-navy h3,
.section-skin-navy h4 {
    color: #fff;
}

.section-skin-deep-green {
    background: linear-gradient(165deg, var(--deep-green) 0%, var(--deep-green-mid) 100%);
    color: #faf9f6;
}

.section-skin-deep-green .section-title,
.section-skin-deep-green h1,
.section-skin-deep-green h2,
.section-skin-deep-green h3 {
    color: #faf9f6;
}

.section-divider-wave {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23FAF7F2' d='M0 48h1440V0C1200 32 240 32 0 12v36z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.editorial-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    margin-bottom: var(--space-8);
}

.section-skin-navy .editorial-kicker,
.section-skin-deep-green .editorial-kicker {
    color: var(--gold-light);
}

.section-skin-sky-light {
    background: transparent;
    color: var(--navy);
}

.section-skin-sky-light .section-title,
.section-skin-sky-light h1,
.section-skin-sky-light h2,
.section-skin-sky-light h3,
.section-skin-sky-light h4 {
    color: var(--navy);
}

/* Home (light): translucent section shells so fixed BG animation reads through scroll */
body.is-home-page:not(.dark) .section-premium.section-skin-cream {
    background: linear-gradient(
        180deg,
        rgba(250, 247, 242, 0.78) 0%,
        rgba(240, 235, 224, 0.72) 100%
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(15, 32, 68, 0.05);
}

body.is-home-page:not(.dark) .section-premium.section-skin-navy {
    background: linear-gradient(
        165deg,
        rgba(15, 32, 68, 0.91) 0%,
        rgba(26, 54, 96, 0.88) 100%
    );
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-top: 1px solid rgba(87, 134, 199, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.is-home-page:not(.dark) .section-premium.section-skin-deep-green {
    background: linear-gradient(
        165deg,
        rgba(27, 61, 47, 0.9) 0%,
        rgba(36, 90, 69, 0.87) 100%
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(122, 158, 126, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

body.is-home-page:not(.dark) .section-premium.section-skin-sky-light {
    background: linear-gradient(
        180deg,
        rgba(250, 247, 242, 0.32) 0%,
        rgba(250, 247, 242, 0.14) 45%,
        rgba(240, 235, 224, 0.22) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.is-home-page:not(.dark) .home-sections .montessori-card-glass {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 12px 36px rgba(15, 32, 68, 0.1) !important;
}

body.is-home-page:not(.dark) .home-sections .testimonial_card:not(.premium-mock-testimonial-card) {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 34px rgba(15, 32, 68, 0.08);
}

body.is-home-page:not(.dark) .home-sections .trending-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 767px) {
    body.is-home-page:not(.dark) .section-premium.section-skin-cream {
        background: linear-gradient(
            180deg,
            rgba(250, 247, 242, 0.88) 0%,
            rgba(240, 235, 224, 0.82) 100%
        );
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    body.is-home-page:not(.dark) .section-premium.section-skin-navy,
    body.is-home-page:not(.dark) .section-premium.section-skin-deep-green {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    body.is-home-page:not(.dark) .section-premium.section-skin-sky-light {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* Dark home: keep solid section shells (readability + existing premium stack) */
body.is-home-page.dark .section-premium.section-skin-cream {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    border-bottom: none;
}

body.is-home-page.dark .section-premium.section-skin-navy {
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    border-bottom: none;
}

body.is-home-page.dark .section-premium.section-skin-deep-green {
    background: linear-gradient(165deg, var(--deep-green) 0%, var(--deep-green-mid) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    border-bottom: none;
}

body.is-home-page.dark .section-premium.section-skin-sky-light {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    body.is-home-page:not(.dark) .section-premium.section-skin-cream {
        background: linear-gradient(180deg, rgba(250, 247, 242, 0.96) 0%, rgba(240, 235, 224, 0.94) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.is-home-page:not(.dark) .section-premium.section-skin-navy {
        background: linear-gradient(165deg, rgba(15, 32, 68, 0.98) 0%, rgba(26, 54, 96, 0.96) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.is-home-page:not(.dark) .section-premium.section-skin-deep-green {
        background: linear-gradient(165deg, rgba(27, 61, 47, 0.97) 0%, rgba(36, 90, 69, 0.95) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.is-home-page:not(.dark) .section-premium.section-skin-sky-light {
        background: linear-gradient(180deg, rgba(250, 247, 242, 0.55) 0%, rgba(240, 235, 224, 0.4) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.is-home-page:not(.dark) .home-sections .montessori-card-glass,
    body.is-home-page:not(.dark) .home-sections .testimonial_card:not(.premium-mock-testimonial-card),
    body.is-home-page:not(.dark) .home-sections .trending-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ------------------------------------------------------------------
   Home (/) — unified canvas: section shells stay transparent; global
   premium-pupil-bg provides continuity. Cards/panels keep their own fill.
------------------------------------------------------------------ */
body.is-home-page .section-premium.section-skin-cream,
body.is-home-page .section-premium.section-skin-sky-light {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

body.is-home-page.dark .section-premium.section-skin-cream {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

@media (max-width: 767px) {
    body.is-home-page .section-premium.section-skin-cream,
    body.is-home-page .section-premium.section-skin-sky-light {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

body.is-home-page .premium-features-section .premium-section-curve path {
    fill: transparent;
}

body.is-home-page .premium-features-section .premium-section-curve {
    height: 20px;
    margin-bottom: 0;
}

body.is-home-page:not(.dark) .premium-latest-section.section-skin-cream.section-premium {
    background: transparent !important;
    background-image: none !important;
}

body.is-home-page .premium-bento-section {
    background: transparent !important;
}

body.is-home-page .premium-stats-strip {
    background: transparent !important;
}

/* Forms: premium inputs */
.premium-field,
.footer .footer-subscribe .form-control {
    border-radius: var(--radius-pill) !important;
    border: 1px solid rgba(15, 32, 68, 0.12) !important;
    padding: 12px 22px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.premium-field:focus,
.footer .footer-subscribe .form-control:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(87, 134, 199, 0.25);
    outline: none;
}

/* Navbar elevated state (toggled via JS) */
#navbar.navbar--elevated {
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(15, 32, 68, 0.06);
}

body.rtl #navbar.navbar--elevated {
    box-shadow: var(--shadow-medium);
}

#navbar .navbar-nav .nav-link {
    transition: color 0.25s ease, box-shadow 0.25s ease;
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
}

#navbar .navbar-nav .nav-link:hover {
    color: var(--gold-dark) !important;
    box-shadow: inset 0 -2px 0 var(--gold);
}

/* Webinar / product card polish */
.montessori-card-glass {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 32, 68, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.montessori-card-glass:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium) !important;
}

/* Page loader — premium double-ring */
#page-premium-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(145deg, var(--cream) 0%, var(--cream-deep) 100%);
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

#page-premium-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-orbit-wrap {
    position: relative;
    width: 68px;
    height: 68px;
}

.loader-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(87, 134, 199, 0.2);
    border-top-color: var(--gold);
    animation: loaderSpin 0.85s linear infinite;
}

.loader-orbit-inner {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 2px solid rgba(15, 32, 68, 0.12);
    border-bottom-color: var(--navy);
    animation: loaderSpin 1.2s linear infinite reverse;
}

.loader-orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(87, 134, 199, 0.8);
    animation: dotPulseLoader 1.5s ease-in-out infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes dotPulseLoader {
    0%,100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50%      { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .loader-orbit,
    .loader-orbit-inner { animation: none; }
}

.testimonial_card {
    border-radius: var(--radius-lg, 24px);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft, 0 10px 30px rgba(15, 32, 68, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.section-skin-navy .subscribes-card,
.section-skin-navy .subscribe-plan {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(87, 134, 199, 0.2);
}

/* Footer — editorial premium */
.footer.footer-premium {
    padding-top: var(--section-y);
    padding-bottom: var(--space-48, 48px);
    background: linear-gradient(180deg, var(--navy) 0%, #0a1528 100%) !important;
    border-top: 1px solid rgba(87, 134, 199, 0.22);
}

.footer.footer-premium .footer-subscribe {
    padding: var(--space-24, 24px) var(--space-24, 24px);
    margin-bottom: var(--space-40, 40px);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(87, 134, 199, 0.2);
    backdrop-filter: blur(12px);
}

.footer.footer-premium .footer-subscribe strong {
    font-size: 1.25rem;
    color: #fff;
}

.footer.footer-premium .subscribe-input {
    border-radius: var(--radius-pill) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: var(--shadow-soft);
}

.footer.footer-premium .subscribe-input .form-group {
    gap: 8px;
}

.footer.footer-premium .header {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-light) !important;
    margin-bottom: var(--space-8, 8px);
}

.footer.footer-premium .footer-social a img {
    border-radius: 10px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

.footer.footer-premium .footer-social a:hover img {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.navbar-search .form-control.premium-field {
    padding-inline-start: 18px;
    padding-inline-end: 44px;
    min-width: 200px;
}

/* ============================================================
   PREMIUM FLOATING BUBBLES
   ============================================================ */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), rgba(87,134,199,0.15));
    border: 1px solid rgba(87,134,199,0.2);
    border-radius: 50%;
    animation: float-up linear infinite;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 14px rgba(87,134,199,0.12), inset 0 0 8px rgba(255,255,255,0.1);
}

.bubble:nth-child(1)  { width:38px;  height:38px;  left:8%;  animation-duration:22s; animation-delay:0s; }
.bubble:nth-child(2)  { width:18px;  height:18px;  left:18%; animation-duration:16s; animation-delay:2.5s; }
.bubble:nth-child(3)  { width:52px;  height:52px;  left:33%; animation-duration:27s; animation-delay:4s; }
.bubble:nth-child(4)  { width:28px;  height:28px;  left:52%; animation-duration:19s; animation-delay:0.5s; }
.bubble:nth-child(5)  { width:22px;  height:22px;  left:67%; animation-duration:17s; animation-delay:3.5s; }
.bubble:nth-child(6)  { width:44px;  height:44px;  left:78%; animation-duration:24s; animation-delay:1.5s; }
.bubble:nth-child(7)  { width:33px;  height:33px;  left:91%; animation-duration:21s; animation-delay:5.5s; }
.bubble:nth-child(8)  { width:14px;  height:14px;  left:4%;  animation-duration:15s; animation-delay:6.5s; }
.bubble:nth-child(9)  { width:58px;  height:58px;  left:74%; animation-duration:30s; animation-delay:2s; }
.bubble:nth-child(10) { width:19px;  height:19px;  left:24%; animation-duration:13s; animation-delay:7.5s; }

@keyframes float-up {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    8%   { opacity: 0.65; }
    50%  { transform: translateY(-52vh) translateX(22px) scale(1.08); opacity: 0.5; }
    92%  { opacity: 0.3; }
    100% { transform: translateY(-105vh) translateX(-18px) scale(0.92); opacity: 0; }
}

/* ============================================================
   LAYER 4 — Animated Grid Lines
   ============================================================ */
.premium-pupil-bg--grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(15,32,68,0.008) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,32,68,0.008) 1px, transparent 1px),
        linear-gradient(rgba(87,134,199,0.0036) 1px, transparent 1px),
        linear-gradient(90deg, rgba(87,134,199,0.0036) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
    animation: gridDrift 80s linear infinite;
    opacity: 0.14;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 40%, transparent 80%);
}

@keyframes gridDrift {
    0%   { background-position: 0px 0px,    0px 0px,    0px 0px,    0px 0px; }
    100% { background-position: 80px 80px, 80px 80px, 20px 20px, 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-pupil-bg--grid { animation: none !important; }
}
body.dark .premium-pupil-bg--grid { opacity: 0.06; }

/* ============================================================
   LAYER 5 — Golden Orbs (Large blurred colour blobs)
   ============================================================ */
.premium-pupil-bg--orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    will-change: transform, opacity;
}

.orb-1 {
    width:380px; height:380px;
    top:-100px; left:-80px;
    background: radial-gradient(circle, rgba(87,134,199,0.16) 0%, rgba(87,134,199,0.03) 65%, transparent 80%);
    animation: orbDrift1 26s ease-in-out infinite alternate;
}
.orb-2 {
    width:300px; height:300px;
    top:28%; right:-60px;
    background: radial-gradient(circle, rgba(15,32,68,0.2) 0%, rgba(26,54,96,0.05) 65%, transparent 80%);
    animation: orbDrift2 32s ease-in-out infinite alternate;
}
.orb-3 {
    width:240px; height:240px;
    bottom:8%; left:18%;
    background: radial-gradient(circle, rgba(87,134,199,0.12) 0%, rgba(232,148,58,0.03) 65%, transparent 80%);
    animation: orbDrift3 20s ease-in-out infinite alternate;
}
.orb-4 {
    width:320px; height:320px;
    bottom:-80px; right:12%;
    background: radial-gradient(circle, rgba(74,123,163,0.16) 0%, rgba(37,99,235,0.03) 65%, transparent 80%);
    animation: orbDrift4 38s ease-in-out infinite alternate;
}
.orb-5 {
    width:200px; height:200px;
    top:52%; left:42%;
    background: radial-gradient(circle, rgba(87,134,199,0.1) 0%, transparent 70%);
    animation: orbDrift5 28s ease-in-out infinite alternate;
}

@keyframes orbDrift1 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(40px,-50px) scale(1.1)} }
@keyframes orbDrift2 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-30px,40px) scale(1.08)} }
@keyframes orbDrift3 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(20px,-30px) scale(1.05)} }
@keyframes orbDrift4 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-40px,20px) scale(1.12)} }
@keyframes orbDrift5 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(25px,-20px) scale(1.06)} }

@media (prefers-reduced-motion: reduce) {
    .orb { animation: none !important; }
}
body.dark .premium-pupil-bg--orbs { opacity: 0.12; }

/* ============================================================
   LAYER 6 — Gold Glitter / Star Particles
   ============================================================ */
.premium-pupil-bg--glitter {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glitter-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(87,134,199,0.9) 0%, rgba(87,134,199,0.15) 65%, transparent 80%);
    box-shadow: 0 0 8px 1px rgba(87,134,199,0.45);
    animation: glitterFloat linear infinite, glitterFade ease-in-out infinite;
    will-change: transform, opacity;
}

.glitter-particle:nth-child(1)  { width:4px; height:4px; top: 7%; left:11%; animation-duration:16s,8s; animation-delay:0s,0.5s; }
.glitter-particle:nth-child(2)  { width:3px; height:3px; top:21%; left:67%; animation-duration:20s,10s; animation-delay:2s,1s; }
.glitter-particle:nth-child(3)  { width:5px; height:5px; top:44%; left:29%; animation-duration:14s,7s; animation-delay:4s,2s; }
.glitter-particle:nth-child(4)  { width:3px; height:3px; top:59%; left:83%; animation-duration:22s,11s; animation-delay:1s,0s; }
.glitter-particle:nth-child(5)  { width:4px; height:4px; top:77%; left:14%; animation-duration:18s,9s; animation-delay:3s,1.5s; }
.glitter-particle:nth-child(6)  { width:6px; height:6px; top:14%; left:51%; animation-duration:24s,12s; animation-delay:0.5s,3s; }
.glitter-particle:nth-child(7)  { width:3px; height:3px; top:34%; left:91%; animation-duration:17s,8.5s; animation-delay:5s,0.5s; }
.glitter-particle:nth-child(8)  { width:4px; height:4px; top:87%; left:54%; animation-duration:21s,10.5s; animation-delay:2.5s,2s; }
.glitter-particle:nth-child(9)  { width:5px; height:5px; top:49%; left:4%; animation-duration:15s,7.5s; animation-delay:1.5s,4s; }
.glitter-particle:nth-child(10) { width:3px; height:3px; top:69%; left:39%; animation-duration:19s,9.5s; animation-delay:6s,1s; }
.glitter-particle:nth-child(11) { width:4px; height:4px; top:24%; left:77%; animation-duration:23s,11.5s; animation-delay:3.5s,3.5s; }
.glitter-particle:nth-child(12) { width:3px; height:3px; top:92%; left:21%; animation-duration:13s,6.5s; animation-delay:4.5s,0s; }

@keyframes glitterFloat {
    0%,100% { transform: translate(0,0) rotate(0deg); }
    25%      { transform: translate(12px,-18px) rotate(90deg); }
    50%      { transform: translate(-8px,-8px) rotate(180deg); }
    75%      { transform: translate(18px,-25px) rotate(270deg); }
}

@keyframes glitterFade {
    0%,100% { opacity: 0.25; }
    50%      { opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
    .glitter-particle { animation: none !important; opacity: 0.35; }
}
body.dark .premium-pupil-bg--glitter { opacity: 0.18; }

/* ========================================================================
   Homepage — luxury Montessori landing (scoped to .is-home-page)
   Palette: #0B2D6B navy, #5786c7 accent, #EEF6FF sky, 28px+ radii
   ======================================================================== */
body.is-home-page {
    --premium-navy: #0b2d6b;
    --premium-gold: #5786c7;
    --premium-sky: #eef6ff;
    --premium-ivory: #faf8f5;
    --premium-radius-xl: 28px;
    --section-y: clamp(2.55rem, 5.1vw, 4.675rem);
}

body.is-home-page #navbar.navbar--premium-home.navbar--transparent {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(0px);
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body.is-home-page #navbar.navbar--premium-home.navbar--transparent .nav-link,
body.is-home-page #navbar.navbar--premium-home.navbar--transparent .menu-category > ul > li {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.25);
}

body.is-home-page #navbar.navbar--premium-home.navbar--elevated,
body.is-home-page #navbar.navbar--premium-home:not(.navbar--transparent) {
    backdrop-filter: blur(16px) saturate(140%);
    background: rgba(255, 255, 255, 0.82) !important;
    border-bottom: 1px solid rgba(11, 45, 107, 0.08);
    box-shadow: 0 18px 50px rgba(11, 45, 107, 0.08);
}

body.is-home-page #navbar.navbar--premium-home .navbar-toggle-content--premium-center {
    justify-content: center;
}

body.is-home-page #navbar.navbar--premium-home .navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 992px) {
    body.is-home-page #navbar.navbar--premium-home .navbar-search {
        max-width: 200px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}

body.is-home-page .btn-premium-nav-cta {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.45rem 1.25rem;
    font-size: 0.9rem;
    border: none;
    white-space: nowrap;
}

body.is-home-page .btn-premium-nav-cta--gold {
    background: linear-gradient(135deg, #5786c7 0%, #466aa8 100%);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(87, 134, 199, 0.35);
}

body.is-home-page .btn-premium-nav-cta--ghost {
    background: #5786c7;
    color: #fff !important;
    border: 1px solid #4570b0 !important;
    box-shadow: 0 6px 18px rgba(87, 134, 199, 0.35);
}

body.is-home-page #navbar.navbar--premium-home.navbar--elevated .btn-premium-nav-cta--ghost,
body.is-home-page #navbar.navbar--premium-home:not(.navbar--transparent) .btn-premium-nav-cta--ghost {
    background: #5786c7;
    color: #fff !important;
    border-color: #4570b0 !important;
}

body.is-home-page #navbar.navbar--premium-home.navbar--elevated .btn-premium-nav-cta--gold {
    color: #fff !important;
}

#navbar .nav-auth-login-btn {
    background-color: #5786c7 !important;
    border-color: #5786c7 !important;
    color: #fff !important;
}

#navbar .nav-auth-login-btn:hover,
#navbar .nav-auth-login-btn:focus {
    background-color: #466aa8 !important;
    border-color: #466aa8 !important;
    color: #fff !important;
}

body.is-home-page .navbar-logo-home-premium {
    max-height: 52px;
    width: auto;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.is-home-page #navbar.navbar--premium-home .premium-home-center-nav .nav-link {
    font-size: 0.93rem !important;
    padding: 0.4rem 0.72rem !important;
}

@media (max-width: 991px) {
    body.is-home-page #navbar.navbar--premium-home .premium-home-nav-ctas {
        width: 100%;
        justify-content: flex-end;
        padding: 0.75rem 0 0;
    }

    /* أي شريط رئيس في الرئيسية: إخفاء منيو الموبايل إلاّ عند .show + لوحة كاملة بخلفية بيضاء */
    body.is-home-page #navbar .navbar-toggle-content:not(.show) {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        position: static !important;
        inset: auto !important;
        background: none !important;
    }

    body.is-home-page #navbar .navbar-toggle-content.show {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        visibility: visible !important;
        pointer-events: auto !important;
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        width: 100% !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        margin: 0 !important;
        padding: clamp(0.72rem, 4vw, 1.15rem) !important;
        z-index: 10050 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        background-color: #ffffff !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 1),
            0 4px 36px rgba(11, 45, 107, 0.12) !important;
        border-radius: 0 !important;
    }

    body.is-home-page #navbar.navbar--premium-home .navbar-toggle-content.show .premium-home-center-nav .nav-link {
        text-shadow: none !important;
        font-weight: 700 !important;
        padding-block: 0.55rem !important;
        border-radius: 10px;
    }

    body.is-home-page #navbar .navbar-toggle-content.show .nav-link {
        color: var(--premium-navy) !important;
        text-shadow: none !important;
    }

    body.is-home-page #navbar .navbar-toggle-content.show .navbar-nav > .nav-item > a.nav-link {
        font-weight: 600 !important;
    }

    body.is-home-page #navbar .navbar-toggle-content.show .menu-category,
    body.is-home-page #navbar .navbar-toggle-content.show .menu-category a,
    body.is-home-page #navbar .navbar-toggle-content.show .menu-category ul li {
        color: var(--premium-navy) !important;
    }

    body.is-home-page #navbar .navbar-toggle-content.show .navbar-toggle-header {
        border-bottom: 1px solid rgba(11, 45, 107, 0.08);
        margin-bottom: 0.35rem;
    }

    body.is-home-page #navbar .navbar-toggle-content.show .premium-nav-search-form--mobile .premium-nav-search-form__input,
    body.is-home-page #navbar .navbar-toggle-content.show .premium-nav-search-form__input {
        background: #ffffff !important;
    }

    body.is-home-page.dark #navbar .navbar-toggle-content.show {
        background-color: #0f1728 !important;
    }

    body.is-home-page.dark #navbar .navbar-toggle-content.show .nav-link {
        color: rgba(246, 248, 253, 0.95) !important;
    }
}

/* --- Hero mockup split --- */
body.is-home-page .premium-home-hero-cluster > .premium-home-hero-wrap {
    z-index: 1;
}

/* Cinematic full-bleed homepage hero */
body.is-home-page .premium-hero-cinematic.premium-home-hero-wrap {
    min-height: min(92vh, 920px);
    background: var(--premium-navy, #0b2d6b);
    isolation: isolate;
}

body.is-home-page .premium-hero-cinematic.premium-hero-banner-mock {
    background: transparent !important;
}

body.is-home-page .premium-hero-cinematic__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

body.is-home-page .premium-hero-cinematic__photo {
    position: absolute;
    inset: -6% -4% auto -8%;
    width: 118%;
    height: 118%;
    max-width: none;
    object-fit: cover;
    object-position: 28% 28%;
    will-change: transform;
}

body.is-home-page .premium-hero-cinematic__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(250, 248, 245, 0.97) 0%, rgba(250, 248, 245, 0.88) min(52%, 640px), rgba(250, 248, 245, 0.25) min(74%, 900px), rgba(11, 45, 107, 0.22) 100%),
        linear-gradient(185deg, rgba(238, 246, 255, 0.35) 0%, transparent 45%);
}

body.is-home-page .premium-hero-cinematic__glow-ring {
    position: absolute;
    z-index: 2;
    width: clamp(340px, 42vw, 520px);
    height: clamp(340px, 42vw, 520px);
    border-radius: 50%;
    right: clamp(-8%, -40px);
    bottom: -18%;
    background: radial-gradient(circle at 40% 40%, rgba(87, 134, 199, 0.12), transparent 62%);
    filter: blur(2px);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    body.is-home-page .premium-hero-cinematic__veil {
        background:
            linear-gradient(180deg, rgba(250, 248, 245, 0.97) 0%, rgba(250, 248, 245, 0.55) min(72%, 600px), rgba(11, 45, 107, 0.35) 100%),
            linear-gradient(90deg, rgba(238, 246, 255, 0.5) 0%, transparent 60%);
    }

    body.is-home-page .premium-hero-cinematic__photo {
        object-position: 50% 20%;
        inset: -8% -12% auto -14%;
        width: 128%;
        height: 110%;
        min-height: 70vh;
    }
}

body.is-home-page .premium-hero-cinematic__waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

body.is-home-page .premium-hero-cinematic__waves .premium-hero-banner-mock__wave {
    opacity: 0.4;
}

body.is-home-page .premium-hero-cinematic__blob {
    position: absolute;
    bottom: -2px;
    right: clamp(-80px, -6vw);
    width: min(980px, 92vw);
    height: auto;
    z-index: 4;
    pointer-events: none;
    opacity: 0.95;
}

@media (max-width: 991.98px) {
    body.is-home-page .premium-hero-cinematic__blob {
        width: min(760px, 140vw);
        right: clamp(-140px, -18vw);
        opacity: 0.82;
    }
}

body.is-home-page .premium-hero-cinematic__shell {
    z-index: 6;
}

body.is-home-page .premium-hero-cinematic .pt-hero-cinematic {
    padding-top: clamp(100px, 13vh, 150px);
    padding-bottom: clamp(28px, 5vh, 48px);
}

body.is-home-page .premium-hero-panel--cinematic {
    padding: clamp(1rem, 2.5vw, 1.5rem);
    padding-inline-start: clamp(0.55rem, 2vw, 1.15rem);
    border-radius: clamp(26px, 3vw, 34px);
    background: transparent;
}

body.is-home-page .premium-hero-cinematic__title {
    color: var(--premium-navy, #0b2d6b);
    font-size: clamp(1.85rem, 4vw, 3.05rem);
    line-height: 1.42;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

body.is-home-page .premium-hero-cinematic__title .premium-hero-accent {
    color: var(--premium-gold, #5786c7);
}

body.is-home-page .premium-hero-cinematic .premium-hero-mock-sub,
body.is-home-page .premium-hero-cinematic__sub {
    color: rgba(11, 45, 107, 0.62);
}

body.is-home-page .premium-hero-actions--cinematic.gap-hero-cta {
    gap: 0.75rem;
}

@media (min-width: 576px) {
    body.is-home-page .premium-hero-actions--cinematic.gap-hero-cta {
        gap: 1rem;
    }
}

body.is-home-page .btn-premium-hero-secondary--cinematic-glass {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 40px rgba(11, 45, 107, 0.08);
}

body.is-home-page .premium-hero-cinematic__curve-bottom {
    position: relative;
    z-index: 8;
    line-height: 0;
}

body.is-home-page .premium-hero-cinematic__curve-bottom .hero-premium-wave__svg {
    width: 100%;
    height: clamp(72px, 11vw, 120px);
    display: block;
}

body.is-home-page .premium-hero-trust-grid--cinematic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
    gap: clamp(8px, 2vw, 14px);
    max-width: 900px;
    margin-inline-start: auto;
}

body.is-home-page .premium-hero-trust-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
    padding: clamp(12px, 2.2vw, 16px) clamp(14px, 2.8vw, 18px);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(11, 45, 107, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75) inset,
        0 18px 40px rgba(11, 45, 107, 0.07);
    backdrop-filter: blur(14px);
    transition:
        transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.42s ease,
        border-color 0.42s ease;
}

body.is-home-page .premium-hero-trust-chip:hover {
    transform: translateY(-4px);
    border-color: rgba(87, 134, 199, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 28px 50px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-hero-trust-chip .premium-hero-trust-icon-svg {
    flex-shrink: 0;
}

body.is-home-page .premium-hero-trust-chip .premium-hero-trust-lines {
    display: flex;
    flex-direction: column;
    text-align: right;
}

body.is-home-page .premium-hero-trust-chip .premium-hero-trust-lines__l1 {
    display: block;
    font-weight: 800;
    font-size: clamp(0.8rem, 1.45vw, 0.9rem);
    color: var(--premium-navy, #0b2d6b);
    line-height: 1.35;
}

body.is-home-page .premium-hero-trust-chip .premium-hero-trust-lines__l2 {
    display: block;
    margin-top: 0.12rem;
    font-size: clamp(0.72rem, 1.2vw, 0.8rem);
    font-weight: 600;
    color: rgba(11, 45, 107, 0.55);
    line-height: 1.38;
}

body.is-home-page .premium-hero-cinematic .deco-line {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    border-radius: 999px;
    opacity: 0.35;
}

body.is-home-page .premium-hero-cinematic .deco-line--1 {
    width: min(48%, 420px);
    height: 2px;
    top: clamp(82px, 18vh, 160px);
    right: clamp(10%, 6vw);
    background: linear-gradient(90deg, transparent, rgba(87, 134, 199, 0.9), transparent);
}

body.is-home-page .premium-hero-cinematic .deco-line--2 {
    width: 2px;
    height: min(42%, 220px);
    top: clamp(140px, 22vh, 230px);
    right: clamp(18%, 10vw);
    background: linear-gradient(180deg, rgba(87, 134, 199, 0.75), transparent);
}

@keyframes premiumHeroParticlesDrift {
    0% {
        transform: translate3d(0, 6px, 0);
        opacity: 0.12;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        transform: translate3d(-10px, -8px, 0);
        opacity: 0.14;
    }
}

body.is-home-page .premium-hero-cinematic__particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.14) 0, transparent 40%),
        radial-gradient(circle at 74% 18%, rgba(87, 134, 199, 0.12) 0, transparent 32%),
        radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.08) 0, transparent 28%);
}

@media (prefers-reduced-motion: no-preference) {
    body.is-home-page .premium-hero-cinematic__particles {
        animation: premiumHeroParticlesDrift 18s ease-in-out infinite alternate;
    }
}

body.is-home-page .premium-home-hero-wrap {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 120% 82% at 100% -8%, rgba(87, 134, 199, 0.16) 0%, transparent 48%),
        linear-gradient(180deg, var(--premium-sky) 0%, var(--premium-ivory) 62%, #fff 100%);
}

/* Static homepage banner (waves + girl photo mock) */
body.is-home-page .premium-home-hero-wrap.premium-hero-banner-mock:not(.premium-hero-cinematic) {
    background:
        radial-gradient(ellipse 92% 58% at 10% -6%, rgba(87, 134, 199, 0.07) 0%, transparent 44%),
        radial-gradient(ellipse 90% 70% at 100% -10%, rgba(87, 134, 199, 0.1) 0%, transparent 50%),
        linear-gradient(188deg, #fbfcff 0%, #f3f6fb 52%, #eef2f8 100%) !important;
}

body.is-home-page .premium-hero-banner-mock__layers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

body.is-home-page .premium-hero-banner-mock__wave {
    position: absolute;
    border-radius: 50%;
}

body.is-home-page .premium-hero-banner-mock__wave--a {
    width: min(840px, 78vw);
    height: min(640px, 62vw);
    right: -14%;
    top: -38%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.55) 45%, transparent 72%);
    opacity: 0.75;
}

body.is-home-page .premium-hero-banner-mock__wave--b {
    width: min(720px, 72vw);
    height: min(540px, 52vw);
    left: -20%;
    bottom: -46%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.94) 0%, rgba(228, 234, 242, 0.4) 52%, transparent 74%);
    opacity: 0.85;
}

body.is-home-page .premium-hero-banner-mock__wave--c {
    width: min(520px, 48vw);
    height: min(420px, 40vw);
    left: 32%;
    top: 4%;
    background: radial-gradient(ellipse at center, rgba(230, 237, 245, 0.45) 0%, transparent 68%);
    opacity: 0.9;
}

@keyframes premiumHeroWaveDriftA {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-2.5%, 1.8%, 0);
    }
}

@keyframes premiumHeroWaveDriftB {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(2.2%, -2%, 0);
    }
}

@keyframes premiumHeroWaveDriftC {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-1.2%, 1.5%, 0) scale(1.03);
    }
}

@keyframes premiumHeroTrustStaggerIn {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes premiumHeroBtnShimmer {
    0%,
    40% {
        transform: skewX(-12deg) translate3d(-155%, 0, 0);
        opacity: 0;
    }
    46% {
        opacity: 0.5;
    }
    58% {
        transform: skewX(-12deg) translate3d(155%, 0, 0);
        opacity: 0.32;
    }
    62%,
    100% {
        transform: skewX(-12deg) translate3d(155%, 0, 0);
        opacity: 0;
    }
}

@keyframes premiumHeroPlayDiskGlow {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.055);
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.is-home-page .premium-hero-banner-mock:not(.premium-hero-cinematic) .premium-hero-banner-mock__wave--a {
        animation: premiumHeroWaveDriftA 42s ease-in-out infinite alternate;
        will-change: transform;
    }

    body.is-home-page .premium-hero-banner-mock:not(.premium-hero-cinematic) .premium-hero-banner-mock__wave--b {
        animation: premiumHeroWaveDriftB 48s ease-in-out infinite alternate;
        will-change: transform;
    }

    body.is-home-page .premium-hero-banner-mock:not(.premium-hero-cinematic) .premium-hero-banner-mock__wave--c {
        animation: premiumHeroWaveDriftC 36s ease-in-out infinite alternate;
        will-change: transform;
    }
}

/* SaaS hero — Montessori pattern field + grain (mock banner) */
body.is-home-page .premium-hero-banner-mock__montessori-pattern {
    position: absolute;
    inset: -12% -8%;
    opacity: 0.38;
    background-image:
        radial-gradient(circle at 18% 24%, rgba(11, 45, 107, 0.07) 0 1px, transparent 2px),
        radial-gradient(circle at 74% 18%, rgba(87, 134, 199, 0.08) 0 1.5px, transparent 2.8px),
        radial-gradient(circle at 82% 68%, rgba(87, 134, 199, 0.07) 0 1px, transparent 2.2px),
        radial-gradient(ellipse 140% 80% at 50% -10%, transparent 62%, rgba(11, 45, 107, 0.03) 100%);
    background-size:
        42px 42px,
        58px 58px,
        48px 48px,
        100% 100%;
}

body.is-home-page .premium-hero-banner-mock__grain {
    position: absolute;
    inset: 0;
    opacity: 0.045;
    mix-blend-mode: multiply;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 220px 220px;
}

body.is-home-page .premium-hero-banner-mock--saas {
    --premium-soft-gold: #5786c7;
    --premium-soft-gold-light: #c8daf5;
    --premium-soft-gold-deep: #3a5f9e;
}

body.is-home-page .premium-hero-banner-mock__shell {
    z-index: 2;
    min-height: min(74vh, 760px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(1.48rem, 3.4vw, 2.42rem);
}

body.is-home-page .premium-hero-mock-title {
    color: var(--premium-navy);
    font-size: clamp(1.68rem, 3.65vw, 2.74rem);
    line-height: 1.43;
}

body.is-home-page .premium-hero-mock-title .premium-hero-accent {
    color: #5786c7;
}

body.is-home-page .premium-hero-banner-mock--saas .premium-hero-mock-title .premium-hero-accent:not(.premium-hero-accent--gradient) {
    color: #5786c7;
}

/* لون عنوان الهيرو من لوحة التحكم: النص داخل ** ** (غير التدرج) يرث لون السطر المضبوط inline */
body.is-home-page .premium-hero-mock-title--custom-color .premium-hero-mock-title__line .premium-hero-accent:not(.premium-hero-accent--gradient) {
    color: inherit !important;
}

/* تدرج تمييز العنوان (نص ** **) من لوحة التحكم — title_highlight_color */
body.is-home-page .premium-hero-mock-title--custom-highlight .premium-hero-accent--gradient {
    background-image: linear-gradient(
        118deg,
        color-mix(in srgb, var(--ph-title-highlight) 38%, #ffffff) 0%,
        var(--ph-title-highlight) 46%,
        color-mix(in srgb, var(--ph-title-highlight) 58%, #0b2d6b) 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    filter: drop-shadow(0 2px 16px color-mix(in srgb, var(--ph-title-highlight) 28%, transparent));
}

body.is-home-page
    .premium-hero-banner-mock--kids-ref
    .premium-hero-mock-title--stack.premium-hero-mock-title--custom-highlight
    .premium-hero-accent--gradient {
    background-image: linear-gradient(
        118deg,
        color-mix(in srgb, var(--ph-title-highlight) 38%, #ffffff) 0%,
        var(--ph-title-highlight) 46%,
        color-mix(in srgb, var(--ph-title-highlight) 58%, #0b2d6b) 100%
    ) !important;
    filter: drop-shadow(0 2px 14px color-mix(in srgb, var(--ph-title-highlight) 30%, transparent));
}

body.is-home-page .premium-hero-mock-eyebrow--admin-color .premium-hero-mock-eyebrow__ico {
    color: inherit !important;
    opacity: 1 !important;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-eyebrow--admin-color .premium-hero-mock-eyebrow__ico {
    color: inherit !important;
}

body.is-home-page .premium-hero-mock-sub {
    font-size: 1.04rem;
    line-height: 1.92;
    color: rgba(11, 45, 107, 0.56);
    max-width: 36em;
    margin-inline: auto;
    text-align: center;
}

body.is-home-page .premium-hero-mock-photo {
    border-radius: 26px;
    width: 100%;
    max-height: min(560px, 68vh);
    object-fit: cover;
    vertical-align: middle;
    box-shadow:
        0 42px 100px rgba(11, 45, 107, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

body.is-home-page .btn-premium-hero-secondary--mock {
    padding: 0.66rem 1.52rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    font-weight: 700;
    background: #fff;
    border: 1px solid rgba(11, 45, 107, 0.15);
    color: var(--premium-navy) !important;
    box-shadow: 0 14px 38px rgba(11, 45, 107, 0.07);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body.is-home-page .btn-premium-hero-secondary--mock:hover {
    border-color: rgba(87, 134, 199, 0.45);
    box-shadow: 0 18px 44px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-hero-play-disk {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.is-home-page .premium-hero-play-disk .fa-play {
    transform: translateX(1px);
    font-size: 0.7rem;
    color: #2563eb;
}

body.is-home-page .premium-hero-trust-row--banner-mock {
    border-top: 1px solid rgba(11, 45, 107, 0.08);
    padding-top: 1.38rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 992px) {
    body.is-home-page .premium-hero-trust-row--banner-mock {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 1.35rem;
    }

    body.is-home-page .premium-hero-trust-row--banner-mock.premium-hero-trust-row--mock-blocks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

body.is-home-page .premium-hero-trust-item-mock__icon {
    flex-shrink: 0;
    color: #466aa8;
    font-size: 1.12rem;
    margin-inline-end: 0.55rem;
    line-height: 1.65;
}

body.is-home-page .premium-hero-trust-item-mock__text {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.68;
    color: var(--premium-navy);
}

body.is-home-page .premium-hero-trust-row--mock-blocks {
    row-gap: 1.15rem;
}

body.is-home-page .premium-hero-trust-item-mock--blocks {
    display: flex;
    align-items: flex-start;
    gap: 0.78rem;
    text-align: start;
}

body.is-home-page .premium-hero-trust-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(87, 134, 199, 0.12);
    border: 1px solid rgba(87, 134, 199, 0.22);
    color: #466aa8;
}

body.is-home-page .premium-hero-trust-icon-svg {
    width: 28px;
    height: 28px;
    display: block;
}

body.is-home-page .premium-hero-trust-lines {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

body.is-home-page .premium-hero-trust-lines__l1 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
    color: var(--premium-navy);
}

body.is-home-page .premium-hero-trust-lines__l2 {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(11, 45, 107, 0.55);
}

body.is-home-page .premium-hero-banner-mock .hero-premium-wave--split-edge {
    z-index: 3;
}

body.is-home-page .premium-hero-banner-mock .hero-split-shell {
    flex: unset;
}

/* ------------------------------------------------------------------
   Mock homepage hero — premium SaaS polish (Montessori + brand blue motion)
   ------------------------------------------------------------------ */
@keyframes premiumHeroEnterUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes premiumHeroPhotoFloatMotion {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-enter {
        opacity: 0;
        animation: premiumHeroEnterUp 0.88s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        animation-delay: var(--hero-enter-delay, 0s);
    }

    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-photo-float .premium-hero-mock-photo-wrap {
        animation: premiumHeroPhotoFloatMotion 8.5s ease-in-out infinite;
        animation-delay: 0.35s;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-enter {
        opacity: 1 !important;
        animation: none !important;
    }

    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-photo-float .premium-hero-mock-photo-wrap {
        animation: none !important;
    }
}

body.is-home-page .premium-hero-banner-mock--saas .premium-hero-banner-mock__shell {
    min-height: min(70vh, 700px);
    padding-block: clamp(1.05rem, 2.5vw, 1.85rem);
}

body.is-home-page .premium-hero-banner-mock--saas .premium-hero-banner-mock__grid.row {
    align-items: center;
}

body.is-home-page .premium-hero-mock-copy--saas {
    padding-inline: clamp(0, 1.2vw, 0.75rem);
}

body.is-home-page .premium-hero-mock-copy--saas .premium-hero-panel--saas {
    margin-inline: auto;
    max-width: min(100%, 36rem);
}

body.is-home-page .premium-hero-mock-copy--saas .premium-hero-mock-eyebrow {
    margin-inline: auto;
}

body.is-home-page .premium-hero-mock-copy--saas .premium-hero-mock-title--stack {
    margin-inline: auto;
}

body.is-home-page .premium-hero-mock-copy--saas .premium-hero-actions {
    justify-content: center;
}

body.is-home-page .premium-hero-mock-copy--saas .premium-hero-trust-row--banner-mock {
    justify-content: center;
}

body.is-home-page .premium-hero-mock-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: clamp(0.68rem, 1.35vw, 0.78rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(11, 45, 107, 0.82);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(11, 45, 107, 0.1);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 12px 38px rgba(11, 45, 107, 0.06);
}

body.is-home-page [dir='rtl'] .premium-hero-mock-eyebrow {
    text-transform: none;
    letter-spacing: 0.01em;
}

body.is-home-page .premium-hero-mock-title--stack {
    margin: 0;
    max-width: min(100%, 31rem);
    text-wrap: balance;
}

body.is-home-page .premium-hero-mock-title--stack .premium-hero-mock-title__line {
    display: block;
}

body.is-home-page .premium-hero-mock-title--stack .premium-hero-mock-title__line--1 {
    font-size: clamp(0.98rem, 2.15vw, 1.22rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.42;
    color: rgba(11, 45, 107, 0.76);
}

body.is-home-page .premium-hero-mock-title--stack .premium-hero-mock-title__line--2 {
    margin-top: 0.42rem;
    font-size: clamp(1.88rem, 4.85vw, 3.05rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--premium-navy);
}

body.is-home-page .premium-hero-mock-title--stack .premium-hero-mock-title__line--3 {
    margin-top: 0.28rem;
    font-size: clamp(1.38rem, 3.65vw, 2.38rem);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.2;
    color: var(--premium-navy);
}

body.is-home-page .premium-hero-mock-title--stack .premium-hero-accent--gradient {
    background: linear-gradient(
        118deg,
        #b9cff2 0%,
        #5786c7 46%,
        #3e5ea0 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 18px rgba(87, 134, 199, 0.28));
}

body.is-home-page .premium-hero-banner-mock--saas .premium-hero-mock-sub {
    font-size: clamp(1rem, 1.55vw, 1.1rem);
    line-height: 1.82;
    color: rgba(11, 45, 107, 0.5);
    max-width: 38em;
    margin-inline: auto;
    text-align: center;
}

body.is-home-page .premium-hero-actions--glass.gap-hero-cta {
    gap: clamp(10px, 2.2vw, 16px);
}

body.is-home-page .premium-hero-banner-mock--saas .btn-premium-hero-primary--glass {
    position: relative;
    overflow: hidden;
    padding: 0.78rem 2.05rem;
    border-radius: 999px;
    font-weight: 800;
    color: #0b1628 !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(142deg, #9bb6e8 0%, #5786c7 48%, #466aa8 100%);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 18px 48px rgba(87, 134, 199, 0.42),
        0 10px 24px rgba(11, 45, 107, 0.1);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease,
        filter 0.32s ease;
}

body.is-home-page .premium-hero-banner-mock--saas .btn-premium-hero-primary--glass::after {
    content: '';
    position: absolute;
    top: -45%;
    left: -30%;
    width: 38%;
    height: 190%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 38%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0) 62%,
        transparent 100%
    );
    transform: skewX(-12deg) translate3d(-155%, 0, 0);
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    body.is-home-page .premium-hero-banner-mock--saas .btn-premium-hero-primary--glass::after {
        animation: premiumHeroBtnShimmer 5s ease-in-out infinite;
        animation-delay: 1.2s;
    }
}

body.is-home-page .premium-hero-banner-mock--saas .btn-premium-hero-primary--glass:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 28px 64px rgba(87, 134, 199, 0.5),
        0 14px 32px rgba(11, 45, 107, 0.12);
}

body.is-home-page .premium-hero-banner-mock--saas .btn-premium-hero-secondary--glass.btn-premium-hero-secondary--mock {
    padding: 0.74rem 1.62rem;
    font-weight: 800;
    color: rgba(11, 45, 107, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 14px 40px rgba(11, 45, 107, 0.08),
        0 0 0 1px rgba(11, 45, 107, 0.06);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease;
}

body.is-home-page .premium-hero-banner-mock--saas .btn-premium-hero-secondary--glass.btn-premium-hero-secondary--mock:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(87, 134, 199, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 22px 52px rgba(11, 45, 107, 0.12);
}

body.is-home-page .premium-hero-banner-mock--saas .premium-hero-play-disk {
    background: rgba(87, 134, 199, 0.16);
    border-color: rgba(87, 134, 199, 0.32);
}

body.is-home-page .premium-hero-banner-mock--saas .premium-hero-play-disk .fa-play {
    color: #445f9a;
}

@media (prefers-reduced-motion: no-preference) {
    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-play-disk {
        animation: premiumHeroPlayDiskGlow 3.25s ease-in-out infinite;
    }
}

body.is-home-page .premium-hero-trust-strip.premium-hero-trust-row--banner-mock {
    margin-top: clamp(1.25rem, 3vw, 1.85rem);
    padding: clamp(1rem, 2.2vw, 1.35rem) clamp(0.65rem, 2vw, 1.1rem);
    border: 1px solid rgba(11, 45, 107, 0.08);
    border-radius: var(--premium-radius-xl, 28px);
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 18px 48px rgba(11, 45, 107, 0.07);
    border-top: none;
}

body.is-home-page .premium-hero-trust-strip .premium-hero-trust-item-mock--blocks {
    padding: 0.45rem 0.35rem;
    border-radius: 18px;
    transition:
        background 0.28s ease,
        transform 0.28s ease;
}

body.is-home-page .premium-hero-trust-strip .premium-hero-trust-item-mock--blocks:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

body.is-home-page .premium-hero-trust-strip .premium-hero-trust-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(238, 246, 255, 0.55));
    border: 1px solid rgba(87, 134, 199, 0.26);
    color: #3d5590;
    box-shadow: 0 10px 22px rgba(11, 45, 107, 0.06);
}

/* بوكسات الثقة في الهيرو — بطاقة كريمية ناعمة + خلايا داخلية مستديرة (مطابقة اتجاه التصميم) */
body.is-home-page .premium-hero-trust-strip.premium-hero-trust-row--stack-card.premium-hero-trust-row--banner-mock {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(0.65rem, 2.2vw, 1rem);
    margin-top: clamp(1.35rem, 3.2vw, 2rem);
    padding: clamp(1.05rem, 2.6vw, 1.45rem) clamp(0.85rem, 2.4vw, 1.35rem) !important;
    overflow: visible;
    background:
        linear-gradient(165deg, rgba(255, 254, 251, 0.97) 0%, rgba(250, 246, 240, 0.96) 42%, rgba(241, 234, 226, 0.94) 100%);
    border: 1px solid rgba(11, 45, 107, 0.07);
    border-radius: clamp(28px, 5vw, 36px);
    backdrop-filter: blur(20px) saturate(155%);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 2px 0 rgba(255, 255, 255, 0.45) inset,
        0 32px 72px rgba(11, 45, 107, 0.09),
        0 14px 36px rgba(87, 134, 199, 0.07);
}

body.is-home-page .premium-hero-trust-strip.premium-hero-trust-row--stack-card .premium-hero-trust-item-mock--blocks {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.85rem, 2vw, 1.15rem);
    padding: clamp(1rem, 2.5vw, 1.2rem) clamp(1rem, 2.6vw, 1.35rem) !important;
    margin: 0;
    text-align: start;
    border-radius: clamp(18px, 3.5vw, 24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    background: rgba(255, 255, 255, 0.58);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 32px rgba(11, 45, 107, 0.05),
        0 4px 12px rgba(11, 45, 107, 0.03);
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

body.is-home-page .premium-hero-trust-strip.premium-hero-trust-row--stack-card .premium-hero-trust-item-mock--blocks:hover {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 16px 42px rgba(11, 45, 107, 0.07),
        0 6px 16px rgba(87, 134, 199, 0.06);
}

body.is-home-page .premium-hero-trust-strip.premium-hero-trust-row--stack-card .premium-hero-trust-icon-wrap {
    width: 54px !important;
    height: 54px !important;
    border-radius: clamp(15px, 2.8vw, 18px) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 10px 24px rgba(11, 45, 107, 0.07);
}

body.is-home-page .premium-hero-trust-strip.premium-hero-trust-row--stack-card .premium-hero-trust-lines__l1 {
    font-size: clamp(0.92rem, 1.45vw, 1.02rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.45;
    color: var(--premium-navy, #0b2d6b);
}

body.is-home-page .premium-hero-trust-strip.premium-hero-trust-row--stack-card .premium-hero-trust-lines__l2 {
    font-size: clamp(0.8rem, 1.2vw, 0.88rem);
    font-weight: 600;
    line-height: 1.62;
    color: rgba(11, 45, 107, 0.48);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-trust-strip.premium-hero-trust-row--stack-card .premium-hero-trust-icon-wrap {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 10px 24px rgba(11, 45, 107, 0.07);
}

@media (max-width: 767.98px) {
    body.is-home-page .premium-hero-trust-strip.premium-hero-trust-row--stack-card.premium-hero-trust-row--banner-mock {
        grid-template-columns: 1fr !important;
        gap: clamp(0.55rem, 2vw, 0.85rem);
    }
}


body.is-home-page .premium-hero-trust-lines__meta {
    margin-top: 0.42rem;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(61, 90, 160, 0.82);
}

body.is-home-page [dir='rtl'] .premium-hero-trust-lines__meta {
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-trust-io .premium-hero-trust-item-mock--blocks {
        opacity: 0;
        animation: premiumHeroTrustStaggerIn 0.64s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-trust-io .premium-hero-trust-item-mock--blocks:nth-child(1) {
        animation-delay: 0.92s;
    }

    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-trust-io .premium-hero-trust-item-mock--blocks:nth-child(2) {
        animation-delay: 1.02s;
    }

    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-trust-io .premium-hero-trust-item-mock--blocks:nth-child(3) {
        animation-delay: 1.12s;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-hero-trust-io .premium-hero-trust-item-mock--blocks {
        opacity: 1 !important;
        animation: none !important;
    }
}

body.is-home-page .premium-hero-mock-visual-col--saas .premium-hero-mock-photo-wrap {
    border-radius: clamp(26px, 4vw, 34px);
    padding: clamp(0.42rem, 1.6vw, 0.72rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(245, 242, 236, 0.45));
    border: 1px solid rgba(11, 45, 107, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 40px 100px rgba(11, 45, 107, 0.11),
        0 22px 48px rgba(11, 45, 107, 0.07),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

body.is-home-page .premium-hero-mock-visual-col--saas .premium-hero-mock-photo {
    border-radius: clamp(22px, 3.5vw, 28px);
    box-shadow:
        0 52px 120px rgba(11, 45, 107, 0.18),
        0 20px 40px rgba(11, 45, 107, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

body.is-home-page .premium-hero-banner-mock--saas .premium-hero-mock-ambient__blob--warm {
    background: radial-gradient(
        circle at 40% 40%,
        rgba(87, 134, 199, 0.26) 0%,
        rgba(185, 207, 242, 0.16) 45%,
        transparent 72%
    );
}

/* ------------------------------------------------------------------
   Mock hero — “children’s school” reference: warm gold, organic photo, craft decors
   ------------------------------------------------------------------ */
body.is-home-page .premium-hero-banner-mock--kids-ref {
    --hero-gold: #c9a050;
    --hero-gold-light: #e8d5a4;
    --hero-gold-deep: #8a6a2c;
    --hero-navy-swoosh: #1a365d;
}

body.is-home-page .premium-hero-banner-mock--kids-ref.premium-hero-banner-mock:not(.premium-hero-cinematic) {
    background:
        radial-gradient(ellipse 88% 60% at 8% 0%, rgba(201, 160, 80, 0.09) 0%, transparent 50%),
        radial-gradient(ellipse 80% 55% at 100% 8%, rgba(87, 134, 199, 0.07) 0%, transparent 48%),
        linear-gradient(188deg, #fdfbf7 0%, #f5f0e8 45%, #efe8de 100%) !important;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-eyebrow__ico {
    margin-inline-end: 0.42rem;
    color: #c9a050;
    font-size: 0.92rem;
    opacity: 0.95;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-banner-mock__craft {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

body.is-home-page .premium-hero-craft {
    position: absolute;
    display: block;
    pointer-events: none;
}

body.is-home-page .premium-hero-craft--star {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #e8c66a, #c9a050);
    clip-path: polygon(50% 0%, 63% 35%, 100% 50%, 63% 65%, 50% 100%, 37% 65%, 0% 50%, 37% 35%);
    opacity: 0.55;
    filter: drop-shadow(0 2px 4px rgba(201, 160, 80, 0.35));
}

body.is-home-page .premium-hero-craft--star-1 {
    top: 12%;
    right: 18%;
    animation: premiumHeroCraftFloat 7s ease-in-out infinite;
}

body.is-home-page .premium-hero-craft--star-2 {
    top: 22%;
    right: 8%;
    width: 7px;
    height: 7px;
    animation: premiumHeroCraftFloat 8.5s ease-in-out infinite 0.8s;
    opacity: 0.4;
}

body.is-home-page .premium-hero-craft--star-3 {
    bottom: 18%;
    left: 6%;
    width: 8px;
    height: 8px;
    animation: premiumHeroCraftFloat 9s ease-in-out infinite 1.2s;
}

body.is-home-page .premium-hero-craft--block {
    width: 36px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(145deg, #deb864, #c9a050 55%, #a9843f);
    top: 58%;
    right: 10%;
    opacity: 0.35;
    transform: rotate(-18deg);
    box-shadow: 0 12px 28px rgba(201, 160, 80, 0.25);
}

body.is-home-page .premium-hero-craft--leaf {
    width: 44px;
    height: 44px;
    top: 42%;
    left: 4%;
    border-radius: 0 70% 45% 70%;
    background: linear-gradient(145deg, rgba(52, 168, 83, 0.45), rgba(34, 132, 61, 0.35));
    opacity: 0.5;
    transform: rotate(-35deg);
}

@keyframes premiumHeroCraftFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-craft {
        animation: none !important;
    }
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-photo-organic {
    position: relative;
    width: 100%;
    max-width: min(500px, 100%);
    margin-inline: auto;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-photo-swoosh {
    position: absolute;
    z-index: 0;
    width: 110%;
    height: 110%;
    left: -5%;
    top: -5%;
    border-radius: clamp(32px, 5.5vw, 48px);
    background: linear-gradient(158deg, rgba(26, 54, 93, 0.96) 0%, rgba(26, 54, 93, 0.55) 42%, rgba(87, 134, 199, 0.22) 100%);
    box-shadow: 0 40px 90px rgba(26, 54, 93, 0.22);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-visual-col--saas .premium-hero-mock-photo-wrap {
    position: relative;
    z-index: 1;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: clamp(24px, 4vw, 40px);
    overflow: hidden;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-visual-col--saas .premium-hero-mock-photo {
    border-radius: inherit;
    box-shadow:
        0 48px 110px rgba(26, 54, 93, 0.22),
        0 22px 50px rgba(11, 45, 107, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-float-card {
    position: absolute;
    z-index: 4;
    bottom: clamp(0.65rem, 2.5vw, 1.15rem);
    inset-inline-start: clamp(0.45rem, 2vw, 0.85rem);
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    max-width: min(24rem, 96%);
    padding: 0.68rem 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(11, 45, 107, 0.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 22px 48px rgba(11, 45, 107, 0.14);
    text-align: start;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-float-card__heart {
    flex-shrink: 0;
    color: #e11d48;
    font-size: 1.15rem;
    line-height: 1.2;
    margin-top: 0.08rem;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-float-card__text {
    margin: 0;
    font-size: clamp(0.74rem, 2vw, 0.88rem);
    font-weight: 800;
    line-height: 1.48;
    color: var(--premium-navy, #0b2d6b);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-title--stack {
    max-width: min(100%, 40rem);
}

body.is-home-page .premium-hero-banner-mock--kids-ref.premium-hero-banner-mock--saas .premium-hero-banner-mock__shell {
    min-height: min(58vh, 600px);
    padding-block: clamp(0.75rem, 2vw, 1.45rem);
}

body.is-home-page .premium-hero-banner-mock--kids-ref h1.premium-hero-mock-title--stack {
    margin-bottom: 0.7rem !important;
}

@media (min-width: 992px) {
    body.is-home-page .premium-hero-banner-mock--kids-ref h1.premium-hero-mock-title--stack {
        margin-bottom: 0.85rem !important;
    }
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-sub {
    line-height: 1.72;
    margin-inline: auto;
    text-align: center;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-sub.mb-22 {
    margin-bottom: 1rem !important;
}

@media (min-width: 992px) {
    body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-sub.mb-lg-28 {
        margin-bottom: 1.2rem !important;
    }
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-title--stack .premium-hero-mock-title__line--1 {
    font-size: clamp(1.32rem, 3.35vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.26;
    color: var(--premium-navy);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-title--stack .premium-hero-mock-title__line--2 {
    margin-top: 0.45rem;
    font-size: clamp(1.05rem, 2.55vw, 1.68rem);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.44;
    color: var(--premium-navy);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-title--stack .premium-hero-accent--gradient {
    background: linear-gradient(118deg, var(--hero-gold-light) 0%, var(--hero-gold) 48%, var(--hero-gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 14px rgba(201, 160, 80, 0.28));
}

body.is-home-page .premium-hero-banner-mock--kids-ref .btn-premium-hero-primary--glass {
    color: #2b1f08 !important;
    border: 1px solid rgba(255, 250, 235, 0.75);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(142deg, #f0d78c 0%, #d4a84b 42%, #b8892f 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 18px 46px rgba(201, 160, 80, 0.38),
        0 12px 28px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .btn-premium-hero-primary--glass:hover {
    filter: brightness(1.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 26px 58px rgba(201, 160, 80, 0.45),
        0 14px 32px rgba(11, 45, 107, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
    body.is-home-page .premium-hero-banner-mock--kids-ref .btn-premium-hero-primary--glass::after {
        animation: premiumHeroBtnShimmer 5.5s ease-in-out infinite;
        animation-delay: 1s;
        opacity: 0.85;
    }
}

body.is-home-page .premium-hero-banner-mock--kids-ref .btn-premium-hero-secondary--glass.btn-premium-hero-secondary--mock {
    border: 1px solid rgba(26, 54, 93, 0.14);
    background: rgba(255, 255, 255, 0.72);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-play-disk {
    background: rgba(201, 160, 80, 0.18);
    border-color: rgba(201, 160, 80, 0.42);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-play-disk .fa-play {
    color: var(--hero-gold-deep);
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-trust-lines__meta {
    display: none;
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-trust-item--accent-emerald .premium-hero-trust-icon-wrap {
    color: #15803d;
    border-color: rgba(21, 128, 61, 0.28);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(220, 252, 231, 0.55));
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-trust-item--accent-sky .premium-hero-trust-icon-wrap {
    color: #1d4ed8;
    border-color: rgba(29, 78, 216, 0.28);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(219, 234, 254, 0.55));
}

body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-trust-item--accent-amber .premium-hero-trust-icon-wrap {
    color: var(--hero-gold-deep);
    border-color: rgba(201, 160, 80, 0.38);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 230, 0.65));
}

@media (max-width: 767px) {
    body.is-home-page .premium-hero-trust-row--banner-mock.premium-hero-trust-row--mock-blocks {
        grid-template-columns: 1fr;
    }

    body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-mock-float-card {
        inset-inline-start: 50%;
        transform: translateX(-50%);
        bottom: 0.5rem;
        max-width: 94%;
    }

}

/* مساحة تحت أزرار الهيرو تفصلها عن زر واتساب الثابت */
@media (max-width: 991.98px) {
    body.is-home-page .premium-hero-banner-mock--kids-ref .premium-hero-banner-mock__grid {
        padding-bottom: max(2rem, calc(72px + env(safe-area-inset-bottom, 0px))) !important;
    }

    body.is-home-page .premium-hero-banner-mock--kids-ref .btn-premium-hero-primary--glass {
        padding: 0.58rem 1.28rem;
        font-size: 0.9rem;
    }

    body.is-home-page .premium-hero-banner-mock--kids-ref .btn-premium-hero-secondary--mock {
        padding: 0.54rem 1.12rem;
        font-size: 0.88rem;
    }
}

body.is-home-page .hero-cinematic--mockup-split {
    min-height: auto;
}

body.is-home-page .hero-intro-layer--flat {
    display: none !important;
}

body.is-home-page .hero-mockup-deco-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 900px 340px at 28% 86%, rgba(11, 45, 107, 0.09) 0%, transparent 68%),
        linear-gradient(122deg, transparent 38%, rgba(87, 134, 199, 0.12) 50%, transparent 62%);
}

body.is-home-page .hero-cinematic--mockup-split .hero-slide--mockup-split,
body.is-home-page .modern-hero-slider.hero-cinematic.hero-cinematic--mockup-split,
body.is-home-page .hero-slider-container.hero-slider-container--premium {
    min-height: unset !important;
}

body.is-home-page .hero-slide--mockup-split {
    min-height: min(94vh, 920px) !important;
    display: flex;
    flex-direction: column;
}

body.is-home-page .hero-split-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.is-home-page .premium-hero-panel {
    padding: 1rem 0 2rem;
}

body.is-home-page .premium-hero-eyebrow--navy {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.35rem 1rem;
    background: rgba(11, 45, 107, 0.07);
    border: 1px solid rgba(11, 45, 107, 0.12);
    color: var(--premium-navy);
}

body.is-home-page .premium-hero-heading--mockup-navy {
    color: var(--premium-navy);
    font-size: clamp(1.85rem, 3.85vw, 2.82rem);
    line-height: 1.35;
}

body.is-home-page .premium-hero-heading--mockup-navy .premium-hero-accent {
    color: var(--premium-gold);
    text-shadow: none;
}

body.is-home-page .premium-hero-actions {
    display: flex;
    gap: 0.75rem;
}

body.is-home-page .premium-hero-lead--muted {
    color: rgba(11, 45, 107, 0.65);
    font-size: 1.05rem;
    line-height: 1.95;
    max-width: 36em;
}

body.is-home-page .btn-premium-hero-primary {
    padding: 0.68rem 1.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #5786c7 0%, #466aa8 100%);
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 16px 44px rgba(87, 134, 199, 0.35);
}

body.is-home-page .btn-premium-hero-primary:hover {
    filter: brightness(1.05);
}

body.is-home-page .btn-premium-hero-secondary--navy-solid {
    padding: 0.65rem 1.55rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    background: #fff;
    border: 2px solid rgba(11, 45, 107, 0.1);
    color: var(--premium-navy) !important;
    box-shadow: 0 18px 48px rgba(11, 45, 107, 0.08);
    backdrop-filter: none;
}

body.is-home-page .premium-hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.is-home-page .premium-hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 45, 107, 0.1);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--premium-navy);
    box-shadow: 0 18px 50px rgba(11, 45, 107, 0.07);
}

body.is-home-page .premium-hero-trust-icon {
    color: var(--premium-gold);
    font-size: 0.95rem;
}

body.is-home-page .premium-hero-photo-wrap {
    position: relative;
    padding: 0.85rem;
}

body.is-home-page .premium-hero-photo-glow {
    position: absolute;
    inset: 5% 10% 13% 10%;
    border-radius: clamp(24px, 4vw, 40px);
    background: radial-gradient(circle at 42% 40%, rgba(87, 134, 199, 0.28) 0%, rgba(238, 246, 255, 0.45) 55%, transparent 72%);
    filter: blur(18px);
    z-index: 0;
}

body.is-home-page .premium-hero-main-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: min(580px, 68vh);
    object-fit: cover;
    border-radius: 34px;
    box-shadow:
        0 48px 120px rgba(11, 45, 107, 0.17),
        0 1px 0 rgba(255, 255, 255, 0.55) inset;
    transition: transform 1s ease, opacity 1s ease;
    will-change: transform;
}

body.is-home-page .hero-premium-wave--split-edge {
    margin-top: auto;
    height: clamp(56px, 9vw, 112px);
    position: relative;
    z-index: 3;
}

body.is-home-page .hero-premium-wave__svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Floating feature pills --- */
body.is-home-page .premium-features-section {
    margin-top: -8px;
    z-index: 6;
}

body.is-home-page .premium-section-curve {
    width: 100%;
    height: 40px;
    display: block;
    margin-bottom: -1px;
}

body.is-home-page .premium-feature-glass {
    border-radius: clamp(22px, 3.8vw, 30px);
    padding: clamp(1.35rem, 3.2vw, 1.75rem) clamp(1.15rem, 2.8vw, 1.45rem);
    background: #ffffff;
    border: 1px solid rgba(15, 32, 68, 0.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 18px 46px rgba(11, 45, 107, 0.055),
        0 6px 16px rgba(11, 45, 107, 0.03);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
    min-height: clamp(168px, 26vw, 198px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    transition:
        transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

body.is-home-page .premium-feature-glass:hover {
    transform: translateY(-5px);
    border-color: rgba(87, 134, 199, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 26px 56px rgba(11, 45, 107, 0.09),
        0 10px 24px rgba(87, 134, 199, 0.07);
}

body.is-home-page .premium-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: clamp(14px, 2.5vw, 17px);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body.is-home-page .premium-feature-icon--blue {
    background: rgba(59, 130, 246, 0.11);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.12);
}

body.is-home-page .premium-feature-icon--amber {
    background: rgba(87, 134, 199, 0.1);
    color: #3d5a8a;
    border-color: rgba(87, 134, 199, 0.14);
}

body.is-home-page .premium-feature-icon--rose {
    background: rgba(244, 63, 94, 0.1);
    color: #e11d48;
    border-color: rgba(244, 63, 94, 0.12);
}

body.is-home-page .premium-feature-icon--mint {
    background: rgba(16, 185, 129, 0.11);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.14);
}

body.is-home-page .premium-feature-title {
    font-weight: 800;
    font-size: clamp(0.92rem, 1.35vw, 1.02rem);
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--premium-navy);
    max-width: 15.5em;
    margin-inline: auto;
}

body.is-home-page .premium-feature-hint {
    font-size: clamp(0.78rem, 1.15vw, 0.86rem);
    line-height: 1.65;
    font-weight: 500;
    color: rgba(11, 45, 107, 0.46);
    max-width: 19em;
    margin-inline: auto;
}

body.is-home-page .premium-feature-spotlight {
    position: relative;
    border-radius: var(--premium-radius-xl);
    overflow: hidden;
    min-height: 300px;
    background: linear-gradient(160deg, #0b2d6b 0%, #06183d 85%);
}

body.is-home-page .premium-feature-spotlight__media {
    position: absolute;
    inset: 0;
}

body.is-home-page .premium-feature-spotlight__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.02);
}

body.is-home-page .premium-feature-spotlight__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 45, 107, 0.15) 0%, rgba(5, 20, 50, 0.88) 92%);
}

body.is-home-page .premium-feature-spotlight__copy {
    position: absolute;
    inset: auto 1.75rem 1.75rem 1.75rem;
    text-align: right;
    direction: rtl;
}

body.is-home-page .premium-feature-spotlight__title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.55;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.45);
}

body.is-home-page .btn-premium-spotlight {
    display: inline-flex;
    padding: 0.45rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(87, 134, 199, 0.55);
    color: #fff !important;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

body.is-home-page .btn-premium-spotlight:hover {
    background: rgba(87, 134, 199, 0.25);
}

/* FA5: solid (fa/fas) uses font-face at weight 900; regular/brands use 400. Forcing 400 on .fas hides glyphs. */
body.is-home-page .premium-feature-icon .fa,
body.is-home-page .premium-feature-icon .fas {
    font-size: 1.38rem;
    line-height: 1;
    display: block;
    font-weight: 900;
    opacity: 0.96;
}

body.is-home-page .premium-feature-icon .far {
    font-size: 1.38rem;
    line-height: 1;
    display: block;
    font-weight: 400;
    opacity: 0.96;
}

body.is-home-page .premium-feature-icon .fab {
    font-size: 1.38rem;
    line-height: 1;
    display: block;
    font-weight: 400;
    opacity: 0.96;
}

body.is-home-page .premium-features-section--admin-accent .btn-premium-spotlight {
    border-color: var(--definitions-accent, #5786c7) !important;
}

body.is-home-page .premium-features-section--admin-accent .btn-premium-spotlight:hover {
    background: color-mix(in srgb, var(--definitions-accent, #5786c7) 32%, rgba(255, 255, 255, 0.12)) !important;
    border-color: var(--definitions-accent, #5786c7) !important;
}

body.is-home-page .premium-latest-section {
    position: relative;
    overflow: hidden;
}


body.is-home-page .premium-latest-head-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 992px) {
    body.is-home-page .premium-latest-head-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: clamp(1.25rem, 3vw, 2.5rem);
    }
}

body.is-home-page .premium-latest-header__text {
    max-width: 38rem;
}

body.is-home-page .premium-latest-eyebrow {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.72;
    color: rgba(11, 45, 107, 0.48);
}

body.is-home-page .premium-latest-title {
    font-size: clamp(1.48rem, 3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.018em;
    color: var(--premium-navy);
    line-height: 1.3;
}

body.is-home-page .premium-latest-title::after {
    content: '';
    display: block;
    width: 3.35rem;
    height: 3px;
    margin-top: 0.58rem;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(87, 134, 199, 0.35), var(--premium-gold) 50%, rgba(87, 134, 199, 0.28));
}

body.is-home-page .premium-latest-cta {
    padding: 0.58rem 1.2rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--premium-navy) !important;
    border: 2px solid rgba(11, 45, 107, 0.16);
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 12px 32px rgba(11, 45, 107, 0.08);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

body.is-home-page .premium-latest-cta:hover {
    border-color: rgba(87, 134, 199, 0.55);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 20px 42px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-latest-cta__chev {
    margin-inline-start: 0.48rem;
    display: inline-flex;
    align-items: center;
}

body.is-home-page .premium-latest-cta__chev i {
    font-size: 1.12rem;
    line-height: 1;
}

body.is-home-page .premium-latest-swiper-frame {
    padding-inline: 0;
}

@media (min-width: 768px) {
    body.is-home-page .premium-latest-swiper-frame {
        padding-inline: 0.5rem;
    }
}

body.is-home-page .premium-course-slide {
    padding: 5px;
}

body.is-home-page .premium-course-card-shell {
    border-radius: clamp(14px, 2vw, 20px);
    overflow: visible;
    transition:
        transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.42s ease;
}

body.is-home-page .premium-course-card-shell:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 60px rgba(11, 45, 107, 0.1),
        0 4px 12px rgba(11, 45, 107, 0.04);
}

body.is-home-page .premium-course-card-shell .montessori-card-glass {
    border-radius: clamp(14px, 2vw, 20px) !important;
}

body.is-home-page .premium-mock-course-card {
    height: 100%;
    border-radius: clamp(14px, 2vw, 20px);
    background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
    border: 1px solid rgba(11, 45, 107, 0.09);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.88) inset,
        0 16px 40px rgba(11, 45, 107, 0.07);
    overflow: hidden;
    transition:
        transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.42s ease,
        border-color 0.42s ease;
}

body.is-home-page .premium-course-card-shell:hover .premium-mock-course-card {
    transform: translateY(-8px);
    border-color: rgba(87, 134, 199, 0.22);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 1) inset,
        0 32px 64px rgba(11, 45, 107, 0.1),
        0 0 0 1px rgba(87, 134, 199, 0.15);
}

body.is-home-page .premium-mock-course-card__link {
    color: inherit !important;
}

body.is-home-page .premium-mock-course-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, rgba(11, 45, 107, 0.08), rgba(11, 45, 107, 0.02));
}

body.is-home-page .premium-mock-course-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(4, 12, 32, 0.22));
    pointer-events: none;
    opacity: 0.55;
}

body.is-home-page .premium-mock-course-card__img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 0.82, 0.23, 0.94);
}

body.is-home-page .premium-course-card-shell:hover .premium-mock-course-card__img {
    transform: scale(1.045);
}

body.is-home-page .premium-mock-course-card__badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    inset-inline-start: auto;
    transform: none;
    z-index: 4;
    padding: 0.3rem 0.92rem;
    border-radius: 999px;
    font-size: 0.695rem;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

body.is-home-page .premium-mock-course-card__badge--new {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.32);
}

body.is-home-page .premium-mock-course-card__badge--bestseller {
    background: linear-gradient(135deg, #9bb6e8 0%, #5786c7 52%, #466aa8 100%);
    color: #0c1f45;
    box-shadow: 0 10px 26px rgba(87, 134, 199, 0.32);
}

body.is-home-page .premium-mock-course-card__body {
    padding: 1.08rem 1.05rem 1.28rem;
    text-align: start;
    direction: inherit;
}

body.is-home-page .premium-mock-course-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--premium-navy);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

body.is-home-page .premium-mock-course-card__desc {
    font-size: 0.855rem;
    line-height: 1.74;
    color: rgba(11, 45, 107, 0.55);
    margin-top: 0.35rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

body.is-home-page .premium-mock-course-card__stars {
    color: var(--premium-gold);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

body.is-home-page .premium-mock-course-card__stars .fa-star-o {
    color: rgba(11, 45, 107, 0.22);
}

body.is-home-page .premium-mock-course-card__rate-num {
    font-weight: 800;
    color: var(--premium-navy);
    font-size: 0.88rem;
}

body.is-home-page .premium-mock-course-card__level-badge {
    padding: 0.28rem 0.82rem;
    border-radius: 999px;
    font-size: 0.698rem;
    font-weight: 700;
    border: 1px solid rgba(11, 45, 107, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: rgba(11, 45, 107, 0.86);
}

body.is-home-page .premium-latest-classes-swiper {
    position: relative;
    padding-bottom: 2.85rem;
}

body.is-home-page .premium-latest-classes-swiper .swiper-button-prev,
body.is-home-page .premium-latest-classes-swiper .swiper-button-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin-top: 0;
    top: clamp(220px, 36vw, 320px);
    bottom: auto;
    color: var(--premium-navy);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 252, 0.98) 100%);
    box-shadow:
        0 14px 36px rgba(11, 45, 107, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(11, 45, 107, 0.1);
    z-index: 4;
}

body.is-home-page .premium-latest-classes-swiper .swiper-button-prev {
    left: auto;
    right: auto;
    inset-inline-start: 6px;
    inset-inline-end: auto;
}

body.is-home-page .premium-latest-classes-swiper .swiper-button-next {
    left: auto;
    right: auto;
    inset-inline-end: 6px;
    inset-inline-start: auto;
}

@media (max-width: 575px) {
    body.is-home-page .premium-latest-classes-swiper .swiper-button-prev,
    body.is-home-page .premium-latest-classes-swiper .swiper-button-next {
        display: none;
    }
}

body.is-home-page .premium-latest-classes-swiper .swiper-button-prev:hover,
body.is-home-page .premium-latest-classes-swiper .swiper-button-next:hover {
    border-color: rgba(87, 134, 199, 0.45);
    color: rgba(87, 134, 199, 0.95);
    box-shadow:
        0 18px 44px rgba(11, 45, 107, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

body.is-home-page .premium-latest-classes-swiper .swiper-button-prev:after,
body.is-home-page .premium-latest-classes-swiper .swiper-button-next:after {
    display: none;
}

body.is-home-page .premium-latest-classes-swiper .swiper-button-prev i,
body.is-home-page .premium-latest-classes-swiper .swiper-button-next i {
    font-size: 1.42rem;
    line-height: 1;
}

body.is-home-page .premium-latest-nav .swiper-button-next,
body.is-home-page .premium-latest-nav .swiper-button-prev {
    border-radius: 50%;
}

/* --- Graduate videos (premium home) --- */
body.is-home-page .premium-graduate-videos-section {
    position: relative;
    z-index: 1;
}

body.is-home-page:not(.dark) .premium-graduate-videos-section {
    border-bottom: 1px solid rgba(15, 32, 68, 0.055);
}

body.is-home-page .premium-graduate-videos-head-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    body.is-home-page .premium-graduate-videos-head-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
    }
}

body.is-home-page .premium-graduate-videos-header__text {
    max-width: 46rem;
}

body.is-home-page .premium-graduate-videos-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(11, 45, 107, 0.58);
}

body.is-home-page .premium-graduate-videos-title {
    margin-bottom: 0;
    letter-spacing: -0.015em;
}

body.is-home-page .premium-graduate-videos-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    margin-top: 0.72rem;
    background: linear-gradient(90deg, var(--premium-gold, #5786c7), transparent);
}

body.is-home-page .premium-graduate-videos-sub {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(26, 43, 75, 0.68);
}

body.is-home-page .premium-graduate-videos-cta {
    color: var(--premium-navy, #0b2d6b);
    font-weight: 700;
    font-size: 0.938rem;
    padding: 0.68rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(11, 45, 107, 0.12);
    background: rgba(255, 255, 255, 0.75);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 8px 24px rgba(11, 45, 107, 0.07);
}

body.is-home-page .premium-graduate-videos-cta:hover {
    color: var(--premium-navy, #0b2d6b);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 16px 36px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-graduate-videos-cta__chev {
    margin-inline-start: 0.48rem;
    display: inline-flex;
    align-items: center;
}

body.is-home-page .premium-graduate-videos-cta__chev i {
    font-size: 1.12rem;
    line-height: 1;
}

body.is-home-page .premium-graduate-videos-frame {
    padding-inline: 0;
    position: relative;
}

@media (min-width: 768px) {
    body.is-home-page .premium-graduate-videos-frame {
        padding-inline: 0.5rem;
    }
}

body.is-home-page .premium-graduate-videos-slide {
    height: auto;
}

body.is-home-page .premium-graduate-videos-swiper {
    position: relative;
    padding-bottom: 38px;
    overflow: visible;
}

body.is-home-page .premium-graduate-videos-swiper .swiper-wrapper {
    align-items: stretch;
}

body.is-home-page .premium-gv-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.055);
    box-shadow: 0 6px 22px rgba(15, 32, 68, 0.07);
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}

body.is-home-page .premium-gv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(15, 32, 68, 0.11);
}

body.is-home-page .premium-gv-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #0f2044 0%, #1b3d2f 100%);
    overflow: hidden;
}

body.is-home-page .premium-gv-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.is-home-page .premium-gv-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 2.2rem;
}

body.is-home-page .premium-gv-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 20, 40, 0.38) 100%);
    opacity: 0.85;
}

body.is-home-page .premium-gv-card:hover .premium-gv-card__shade {
    opacity: 0.95;
}

body.is-home-page .premium-gv-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.is-home-page .premium-gv-card__play-inner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--premium-navy, #0b2d6b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
    transition: transform 0.26s ease;
}

body.is-home-page .premium-gv-card:hover .premium-gv-card__play-inner {
    transform: scale(1.08);
}

body.is-home-page .premium-gv-card__play-inner .fa-play {
    margin-inline-start: 3px;
}

body.is-home-page .premium-gv-card__meta {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.75rem 0.82rem 0.88rem;
}

body.is-home-page .premium-gv-card__title {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    color: #1a2b4b;
}

body.is-home-page .premium-gv-card__dur {
    flex-shrink: 0;
    font-size: 0.71rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 32, 68, 0.08);
    color: #1a2b4b;
}


body.is-home-page .premium-graduate-videos-swiper .swiper-button-prev,
body.is-home-page .premium-graduate-videos-swiper .swiper-button-next {
    top: clamp(88px, 18vw, 152px);
    bottom: auto;
    width: 44px;
    height: 44px;
    margin-top: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--premium-navy, #0b2d6b);
    box-shadow: 0 6px 20px rgba(15, 32, 68, 0.12);
    border: 1px solid rgba(11, 45, 107, 0.1);
    z-index: 4;
}

body.is-home-page .premium-graduate-videos-swiper .swiper-button-prev:after,
body.is-home-page .premium-graduate-videos-swiper .swiper-button-next:after {
    display: none;
}

body.is-home-page .premium-graduate-videos-swiper .swiper-button-prev i,
body.is-home-page .premium-graduate-videos-swiper .swiper-button-next i {
    font-size: 1.35rem;
    line-height: 1;
}

body.is-home-page .premium-graduate-videos-swiper .swiper-button-prev {
    left: auto;
    right: auto;
    inset-inline-start: 6px;
    inset-inline-end: auto;
}

body.is-home-page .premium-graduate-videos-swiper .swiper-button-next {
    left: auto;
    right: auto;
    inset-inline-end: 6px;
    inset-inline-start: auto;
}

@media (max-width: 767px) {
    body.is-home-page .premium-graduate-videos-swiper .swiper-button-prev,
    body.is-home-page .premium-graduate-videos-swiper .swiper-button-next {
        display: none;
    }
}

body.is-home-page .premium-graduate-videos-swiper .swiper-button-prev:hover,
body.is-home-page .premium-graduate-videos-swiper .swiper-button-next:hover {
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 32, 68, 0.16);
}

/* --- Premium products (home) --- */
body.is-home-page .premium-products-section {
    position: relative;
    z-index: 1;
}

body.is-home-page .premium-products-cta {
    color: var(--premium-navy, #0b2d6b);
    font-weight: 700;
    font-size: 0.938rem;
    padding: 0.68rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(11, 45, 107, 0.12);
    background: rgba(255, 255, 255, 0.75);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 8px 24px rgba(11, 45, 107, 0.07);
}

body.is-home-page .premium-products-cta:hover {
    color: var(--premium-navy, #0b2d6b);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 16px 36px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-products-cta__chev {
    margin-inline-start: 0.48rem;
    display: inline-flex;
    align-items: center;
}

body.is-home-page .premium-products-cta__chev i {
    font-size: 1.12rem;
    line-height: 1;
}

body.is-home-page .premium-products-frame {
    padding-inline: 0;
    position: relative;
}

@media (min-width: 768px) {
    body.is-home-page .premium-products-frame {
        padding-inline: 0.5rem;
    }
}

body.is-home-page .premium-product-slide {
    height: auto;
}

body.is-home-page .premium-products-swiper {
    position: relative;
    overflow: visible;
    padding-bottom: 38px;
}

body.is-home-page .premium-products-swiper .swiper-wrapper {
    align-items: stretch;
}

body.is-home-page .premium-product-card-shell {
    padding: 5px;
    height: 100%;
}

body.is-home-page .premium-product-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(11, 45, 107, 0.09);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.88) inset,
        0 14px 36px rgba(11, 45, 107, 0.07);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

body.is-home-page .premium-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(87, 134, 199, 0.22);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 1) inset,
        0 26px 56px rgba(11, 45, 107, 0.1),
        0 0 0 1px rgba(87, 134, 199, 0.12);
}

body.is-home-page .premium-product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, rgba(11, 45, 107, 0.07), rgba(11, 45, 107, 0.02));
    overflow: hidden;
}

body.is-home-page .premium-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.is-home-page .premium-product-card:hover .premium-product-card__img {
    transform: scale(1.04);
}

body.is-home-page .premium-product-card__ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(11, 45, 107, 0.18);
    font-size: 2.4rem;
}

body.is-home-page .premium-product-card__badge {
    position: absolute;
    top: 0.62rem;
    inset-inline-start: 0.62rem;
    inset-inline-end: auto;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    line-height: 1.25;
}

body.is-home-page .premium-product-card__badge--sale {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
}

body.is-home-page .premium-product-card__badge--muted {
    background: rgba(15, 23, 42, 0.85);
    color: rgba(248, 250, 252, 0.95);
}

body.is-home-page .premium-product-card__body {
    padding: 0.92rem 0.92rem 1.08rem;
    text-align: start;
}

body.is-home-page .premium-product-card__title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.45;
    color: #1a2b4b;
}

body.is-home-page .premium-product-card__cat {
    font-size: 0.73rem;
    font-weight: 600;
    color: rgba(26, 43, 75, 0.5);
}

body.is-home-page .premium-product-card__price {
    margin-top: 0.72rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.42rem;
}

body.is-home-page .premium-product-card__price-now {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--premium-navy, #0b2d6b);
}

body.is-home-page .premium-product-card__price-was {
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: line-through;
    color: rgba(26, 43, 75, 0.45);
}

body.is-home-page .premium-products-swiper .swiper-button-prev,
body.is-home-page .premium-products-swiper .swiper-button-next {
    top: clamp(100px, 22vw, 168px);
    bottom: auto;
    width: 44px;
    height: 44px;
    margin-top: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--premium-navy, #0b2d6b);
    box-shadow: 0 6px 20px rgba(15, 32, 68, 0.12);
    border: 1px solid rgba(11, 45, 107, 0.1);
    z-index: 4;
}

body.is-home-page .premium-products-swiper .swiper-button-prev:after,
body.is-home-page .premium-products-swiper .swiper-button-next:after {
    display: none;
}

body.is-home-page .premium-products-swiper .swiper-button-prev i,
body.is-home-page .premium-products-swiper .swiper-button-next i {
    font-size: 1.35rem;
    line-height: 1;
}

body.is-home-page .premium-products-swiper .swiper-button-prev {
    left: auto;
    right: auto;
    inset-inline-start: 6px;
    inset-inline-end: auto;
}

body.is-home-page .premium-products-swiper .swiper-button-next {
    left: auto;
    right: auto;
    inset-inline-end: 6px;
    inset-inline-start: auto;
}

@media (max-width: 767px) {
    body.is-home-page .premium-products-swiper .swiper-button-prev,
    body.is-home-page .premium-products-swiper .swiper-button-next {
        display: none;
    }
}

body.is-home-page .premium-products-swiper .swiper-button-prev:hover,
body.is-home-page .premium-products-swiper .swiper-button-next:hover {
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 32, 68, 0.16);
}

/* --- Premium blog + instructors (home) — aligns with products strip --- */
body.is-home-page .premium-blog-section,
body.is-home-page .premium-instructors-section {
    position: relative;
    z-index: 1;
}

body.is-home-page .premium-products-head-row,
body.is-home-page .premium-blog-head-row,
body.is-home-page .premium-instructors-head-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.is-home-page .premium-instructors-head-row {
    align-items: center;
    text-align: center;
}

body.is-home-page .premium-instructors-header__text {
    text-align: center;
    margin-inline: auto;
}

body.is-home-page .premium-instructors-title::after {
    margin-inline: auto;
}

body.is-home-page .premium-instructors-hint {
    margin-inline: auto;
}

body.is-home-page .premium-instructors-header__actions {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    body.is-home-page .premium-products-head-row,
    body.is-home-page .premium-blog-head-row,
    body.is-home-page .premium-instructors-head-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
    }

    body.is-home-page .premium-instructors-head-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    body.is-home-page .premium-instructors-header__actions {
        margin-top: 1.15rem !important;
    }
}

body.is-home-page .premium-products-header__text,
body.is-home-page .premium-blog-header__text,
body.is-home-page .premium-instructors-header__text {
    max-width: 46rem;
}

body.is-home-page .premium-products-eyebrow,
body.is-home-page .premium-blog-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(11, 45, 107, 0.58);
}

body.is-home-page .premium-instructors-finder-eyebrow {
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: rgba(87, 134, 199, 0.95);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

body.is-home-page .premium-products-title,
body.is-home-page .premium-blog-title,
body.is-home-page .premium-instructors-title {
    letter-spacing: -0.015em;
}

body.is-home-page .premium-products-title::after,
body.is-home-page .premium-blog-title::after,
body.is-home-page .premium-instructors-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    margin-top: 0.72rem;
    background: linear-gradient(90deg, var(--premium-gold, #5786c7), transparent);
}

body.is-home-page .premium-instructors-hint {
    font-size: 0.94rem;
    color: rgba(26, 43, 75, 0.62);
    line-height: 1.55;
    max-width: 36rem;
}

body.is-home-page .premium-instructors-header__actions {
    min-width: min(260px, 100%);
}

body.is-home-page .premium-instructors-cta {
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.68rem 1.28rem;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

body.is-home-page .premium-instructors-cta--primary {
    color: #0b1430;
    background: linear-gradient(135deg, #aac6f0 0%, #5786c7 48%, #466aa8 100%);
    border-color: rgba(87, 134, 199, 0.45);
    box-shadow:
        0 10px 28px rgba(180, 120, 20, 0.22),
        inset 0 1px 0 rgba(255, 253, 240, 0.65);
}

body.is-home-page .premium-instructors-cta--primary:hover {
    filter: brightness(1.06);
    color: #081025;
}

body.is-home-page .premium-instructors-cta--secondary {
    color: var(--premium-navy, #0b2d6b);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(11, 45, 107, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 8px 22px rgba(11, 45, 107, 0.08);
}

body.is-home-page .premium-instructors-cta--secondary:hover {
    color: var(--premium-navy, #0b2d6b);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 14px 32px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-blog-frame,
body.is-home-page .premium-instructors-frame {
    padding-inline: 0;
    position: relative;
}

@media (min-width: 768px) {
    body.is-home-page .premium-blog-frame,
    body.is-home-page .premium-instructors-frame {
        padding-inline: 0.5rem;
    }
}

body.is-home-page .premium-blog-slide,
body.is-home-page .premium-instructor-slide {
    height: auto;
}

body.is-home-page .premium-blog-swiper,
body.is-home-page .premium-instructors-swiper {
    position: relative;
    overflow: visible;
    padding-bottom: 38px;
}

body.is-home-page .premium-blog-swiper .swiper-wrapper,
body.is-home-page .premium-instructors-swiper .swiper-wrapper {
    align-items: stretch;
}

body.is-home-page .premium-blog-post-card-shell,
body.is-home-page .premium-home-instructor-card-shell {
    padding: 5px;
    height: 100%;
}

body.is-home-page .premium-blog-post-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(11, 45, 107, 0.09);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.88) inset,
        0 14px 36px rgba(11, 45, 107, 0.07);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
    text-align: start;
}

body.is-home-page .premium-blog-post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(87, 134, 199, 0.22);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 1) inset,
        0 26px 56px rgba(11, 45, 107, 0.1),
        0 0 0 1px rgba(87, 134, 199, 0.12);
}

body.is-home-page .premium-blog-post-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, rgba(11, 45, 107, 0.07), rgba(11, 45, 107, 0.02));
    overflow: hidden;
}

body.is-home-page .premium-blog-post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.is-home-page .premium-blog-post-card:hover .premium-blog-post-card__img {
    transform: scale(1.04);
}

body.is-home-page .premium-blog-post-card__ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(11, 45, 107, 0.18);
    font-size: 2.25rem;
}

body.is-home-page .premium-blog-post-card__badge {
    position: absolute;
    inset-inline-start: auto;
    inset-inline-end: 0.55rem;
    bottom: 0.55rem;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: rgba(11, 45, 107, 0.78);
    box-shadow: 0 8px 20px rgba(15, 32, 68, 0.12);
}

body.is-home-page .premium-blog-post-card__body {
    padding: 0.92rem 0.92rem 1.08rem;
}

body.is-home-page .premium-blog-post-card__cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(87, 134, 199, 0.95);
}

body.is-home-page .premium-blog-post-card__title {
    margin: 0.42rem 0 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.42;
    color: #1a2b4b;
}

body.is-home-page .premium-blog-post-card__excerpt {
    margin-top: 0.5rem !important;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(26, 43, 75, 0.62);
}

body.is-home-page .premium-home-instructor-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(11, 45, 107, 0.09);
    padding: 1.1rem 0.92rem 1.22rem;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.88) inset,
        0 14px 36px rgba(11, 45, 107, 0.07);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

body.is-home-page .premium-home-instructor-card:hover {
    transform: translateY(-6px);
    border-color: rgba(87, 134, 199, 0.22);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 1) inset,
        0 26px 56px rgba(11, 45, 107, 0.1),
        0 0 0 1px rgba(87, 134, 199, 0.12);
}

body.is-home-page .premium-home-instructor-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(87, 134, 199, 0.35);
    box-shadow: 0 14px 32px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-home-instructor-card__name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a2b4b;
}

body.is-home-page .premium-home-instructor-card__bio {
    font-size: 0.8rem;
    line-height: 1.52;
    color: rgba(26, 43, 75, 0.62);
}

body.is-home-page .premium-home-instructor-card__link {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--premium-navy, #0b2d6b);
}

body.is-home-page .premium-home-instructor-card:hover .premium-home-instructor-card__link {
    color: rgba(87, 134, 199, 0.95);
}

/* Single featured instructor — larger card, centered, responsive */
body.is-home-page .premium-instructors-section--single .premium-instructors-head-row {
    justify-content: center;
    text-align: center;
}

body.is-home-page .premium-instructors-section--single .premium-instructors-header__text {
    max-width: 40rem;
    margin-inline: auto;
}

body.is-home-page .premium-instructors-section--single .premium-instructors-title::after {
    margin-inline: auto;
}

body.is-home-page .premium-instructors-section--single .premium-instructors-hint {
    margin-inline: auto;
}

body.is-home-page .premium-instructors-section--single .premium-instructors-header__actions {
    width: 100%;
    justify-content: center;
    margin-top: 1rem !important;
}

body.is-home-page .premium-instructors-section--single .premium-instructors-frame--single {
    max-width: min(34rem, 100%);
    margin-inline: auto;
    padding-inline: 0;
}

body.is-home-page .premium-instructors-section--single .premium-instructors-swiper--single {
    padding-bottom: 0.5rem;
    overflow: hidden;
}

body.is-home-page .premium-instructors-section--single .premium-instructors-swiper--single .swiper-wrapper {
    justify-content: center;
}

body.is-home-page .premium-instructors-section--single .premium-instructor-slide {
    margin-inline: auto;
}

body.is-home-page .premium-instructors-section--single .premium-home-instructor-card {
    padding: clamp(1.4rem, 4.5vw, 2.1rem) clamp(1.15rem, 4vw, 2rem);
    border-radius: clamp(16px, 3vw, 22px);
}

body.is-home-page .premium-instructors-section--single .premium-home-instructor-card__avatar {
    width: clamp(148px, 42vw, 188px);
    height: clamp(148px, 42vw, 188px);
    border-width: 4px;
}

body.is-home-page .premium-instructors-section--single .premium-home-instructor-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.is-home-page .premium-instructors-section--single .premium-home-instructor-card__name {
    font-size: clamp(1.05rem, 3.2vw, 1.42rem);
    letter-spacing: -0.02em;
    line-height: 1.35;
}

body.is-home-page .premium-instructors-section--single .premium-home-instructor-card__bio {
    font-size: clamp(0.84rem, 2.4vw, 0.98rem);
    line-height: 1.62;
    max-width: 28rem;
    margin-inline: auto;
}

body.is-home-page .premium-instructors-section--single .premium-home-instructor-card__link {
    font-size: 0.88rem;
    margin-top: 0.75rem !important;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(87, 134, 199, 0.08);
}

body.is-home-page .premium-instructors-section--single .premium-instructors-swiper--single .swiper-button-prev,
body.is-home-page .premium-instructors-section--single .premium-instructors-swiper--single .swiper-button-next,
body.is-home-page .premium-instructors-section--single .premium-instructors-swiper--single .premium-instructors-pagination {
    display: none !important;
}

body.is-home-page .premium-blog-swiper .swiper-button-prev,
body.is-home-page .premium-blog-swiper .swiper-button-next,
body.is-home-page .premium-instructors-swiper .swiper-button-prev,
body.is-home-page .premium-instructors-swiper .swiper-button-next {
    top: clamp(90px, 20vw, 152px);
    bottom: auto;
    width: 44px;
    height: 44px;
    margin-top: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--premium-navy, #0b2d6b);
    box-shadow: 0 6px 20px rgba(15, 32, 68, 0.12);
    border: 1px solid rgba(11, 45, 107, 0.1);
    z-index: 4;
}

body.is-home-page .premium-blog-swiper .swiper-button-prev:after,
body.is-home-page .premium-blog-swiper .swiper-button-next:after,
body.is-home-page .premium-instructors-swiper .swiper-button-prev:after,
body.is-home-page .premium-instructors-swiper .swiper-button-next:after {
    display: none;
}

body.is-home-page .premium-blog-swiper .swiper-button-prev i,
body.is-home-page .premium-blog-swiper .swiper-button-next i,
body.is-home-page .premium-instructors-swiper .swiper-button-prev i,
body.is-home-page .premium-instructors-swiper .swiper-button-next i {
    font-size: 1.35rem;
    line-height: 1;
}

body.is-home-page .premium-blog-swiper .swiper-button-prev,
body.is-home-page .premium-instructors-swiper .swiper-button-prev {
    left: auto;
    right: auto;
    inset-inline-start: 6px;
    inset-inline-end: auto;
}

body.is-home-page .premium-blog-swiper .swiper-button-next,
body.is-home-page .premium-instructors-swiper .swiper-button-next {
    left: auto;
    right: auto;
    inset-inline-end: 6px;
    inset-inline-start: auto;
}

@media (max-width: 767px) {
    body.is-home-page .premium-blog-swiper .swiper-button-prev,
    body.is-home-page .premium-blog-swiper .swiper-button-next,
    body.is-home-page .premium-instructors-swiper .swiper-button-prev,
    body.is-home-page .premium-instructors-swiper .swiper-button-next {
        display: none;
    }
}

body.is-home-page .premium-blog-swiper .swiper-button-prev:hover,
body.is-home-page .premium-blog-swiper .swiper-button-next:hover,
body.is-home-page .premium-instructors-swiper .swiper-button-prev:hover,
body.is-home-page .premium-instructors-swiper .swiper-button-next:hover {
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 32, 68, 0.16);
}

/* --- Stats strip (rounded navy bar + KPI grid + emblem — RTL-aware) --- */
body.is-home-page .premium-stats-strip {
    background: linear-gradient(180deg, rgba(236, 241, 249, 0.7) 0%, rgba(249, 251, 255, 0.92) 100%);
    color: #fff;
}

body.is-home-page .premium-stats-strip__panel {
    position: relative;
    overflow: hidden;
    border-radius: clamp(18px, 2.2vw, 24px);
    padding: clamp(1.55rem, 3.4vw, 2.55rem) clamp(1.05rem, 2.8vw, 2.45rem);
    background:
        radial-gradient(ellipse 72% 58% at 12% 88%, rgba(255, 255, 255, 0.14), transparent 52%),
        radial-gradient(ellipse 60% 48% at 92% 12%, rgba(255, 255, 255, 0.1), transparent 46%),
        linear-gradient(158deg, #6b98d6 0%, #5786c7 48%, #456eae 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 26px 72px rgba(0, 8, 28, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.is-home-page .premium-stats-strip__gold-rule {
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 3;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(87, 134, 199, 0.2) 10%,
            rgba(237, 210, 120, 0.95) 45%,
            rgba(87, 134, 199, 0.55) 72%,
            transparent 94%);
}

body.is-home-page .premium-stats-strip__vignette {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    background: radial-gradient(ellipse 98% 70% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.16) 100%);
}

body.is-home-page .premium-stats-strip__layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(1.35rem, 3.2vw, 2.5rem);
    padding-top: 0.42rem;
}

body.is-home-page.rtl .premium-stats-strip__layout {
    direction: rtl;
}

body.is-home-page:not(.rtl) .premium-stats-strip__layout {
    direction: ltr;
}

body.is-home-page .premium-stats-strip__kpis {
    flex: 1 1 56%;
    min-width: min(260px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.15rem, 2.8vw, 2rem);
    text-align: center;
    justify-items: center;
    align-items: start;
}

@media (min-width: 992px) {
    body.is-home-page .premium-stats-strip__kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(0.75rem, 2.2vw, 1.35rem);
    }
}

body.is-home-page .premium-stats-item {
    width: 100%;
    max-width: 12.5rem;
}

body.is-home-page .premium-stats-item__ico {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.58rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1.5px solid rgba(142, 176, 232, 0.55);
    color: rgba(253, 236, 168, 0.98);
    font-size: 1.02rem;
    box-shadow:
        0 0 0 2px rgba(87, 134, 199, 0.12),
        inset 0 0 20px rgba(87, 134, 199, 0.06);
}

body.is-home-page .premium-stats-item__ico-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(142, 176, 232, 0.22);
    pointer-events: none;
}

body.is-home-page .premium-stats-item__number {
    font-size: clamp(1.58rem, 3.6vw, 2.72rem);
    font-weight: 800;
    color: #a8ccf5;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15), 0 12px 36px rgba(0, 0, 0, 0.35);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

body.is-home-page .premium-stats-item__label {
    font-size: clamp(0.8rem, 1.8vw, 0.91rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 11.5rem;
    margin-inline: auto;
    margin-top: 0.35rem;
}

body.is-home-page .premium-stats-strip__divider {
    display: none;
    width: 1px;
    align-self: stretch;
    min-height: 140px;
    background: linear-gradient(180deg,
            transparent 2%,
            rgba(255, 255, 255, 0.16) 18%,
            rgba(142, 176, 232, 0.35) 50%,
            rgba(255, 255, 255, 0.12) 82%,
            transparent 98%);
    flex: 0 0 1px;
    opacity: 0.9;
}

@media (min-width: 992px) {
    body.is-home-page .premium-stats-strip__divider {
        display: block;
    }
}

body.is-home-page .premium-stats-strip__brand {
    flex: 1 1 260px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.05rem 1.25rem;
    text-align: start;
}

body.is-home-page .premium-stats-strip__emblem {
    flex-shrink: 0;
    width: min(102px, 22vw);
    height: min(102px, 22vw);
}

body.is-home-page .premium-stats-strip__emblem-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

body.is-home-page .premium-stats-strip__brand-text {
    flex: 1;
    min-width: 0;
}

body.is-home-page .premium-stats-strip__brand-headline {
    margin: 0;
    font-size: clamp(1.02rem, 2.3vw, 1.38rem);
    font-weight: 800;
    line-height: 1.45;
    color: #bdd4ff;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

body.is-home-page .premium-stats-strip__brand-sub {
    margin: 0.48rem 0 0;
    font-size: clamp(0.78rem, 1.55vw, 0.88rem);
    font-weight: 500;
    line-height: 1.65;
    color: rgba(230, 238, 255, 0.78);
    max-width: 16.5rem;
}

@media (max-width: 991px) {
    body.is-home-page .premium-stats-strip__brand {
        flex-wrap: wrap;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: clamp(1.15rem, 3.2vw, 1.65rem);
    }
}

/* --- Bento --- */
body.is-home-page .premium-bento-section {
    background: linear-gradient(180deg, #fff 0%, var(--premium-sky) 100%);
}

body.is-home-page .premium-bento-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--premium-radius-xl);
    padding: 1.5rem;
    box-shadow: 0 36px 80px rgba(11, 45, 107, 0.08), 0 2px 0 rgba(87, 134, 199, 0.12);
    border: 1px solid rgba(11, 45, 107, 0.06);
    transition:
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

body.is-home-page .premium-bento-card:hover {
    transform: translateY(-10px);
    border-color: rgba(87, 134, 199, 0.2);
    box-shadow: 0 44px 95px rgba(11, 45, 107, 0.11), 0 2px 0 rgba(87, 134, 199, 0.16);
}

body.is-home-page .premium-bento-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--premium-navy);
    margin-bottom: 0.35rem;
}

body.is-home-page .premium-bento-card__hint,
body.is-home-page .premium-bento-card__link {
    font-size: 0.82rem;
    color: rgba(11, 45, 107, 0.6);
}

body.is-home-page .premium-bento-card__link {
    float: left;
}

body.is-home-page .premium-bento-card__head {
    margin-bottom: 1rem;
    overflow: hidden;
}

body.is-home-page .premium-bento-map-wrap {
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

body.is-home-page .premium-bento-map {
    width: 100%;
    flex: 1 1 auto;
    min-height: 200px;
    border-radius: var(--premium-radius-xl);
    border: 1px solid rgba(11, 45, 107, 0.08);
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(238, 246, 255, 0.5) 0%, rgba(248, 251, 255, 0.9) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 18px 42px rgba(11, 45, 107, 0.06);
}

body.is-home-page .premium-bento-map__img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    aspect-ratio: 800 / 380;
    object-fit: cover;
    object-position: center;
}

body.is-home-page .btn-premium-bento {
    display: inline-flex;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    background: transparent;
    color: var(--premium-navy) !important;
    border: 1px solid rgba(11, 45, 107, 0.18);
    font-weight: 700;
}

body.is-home-page .btn-premium-bento:hover {
    border-color: var(--premium-gold);
    color: var(--premium-gold) !important;
}

body.is-home-page .premium-bento-blog {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(11, 45, 107, 0.07);
}

body.is-home-page .premium-bento-blog:last-of-type {
    border-bottom: 0;
}

body.is-home-page .premium-bento-blog__thumb {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 12px 30px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-bento-blog__title {
    display: block;
    font-weight: 700;
    color: var(--premium-navy);
    font-size: 0.9rem;
}

body.is-home-page .premium-bento-blog__meta {
    font-size: 0.75rem;
    color: rgba(11, 45, 107, 0.5);
}

body.is-home-page .premium-bento-blog__meta-sep {
    opacity: 0.55;
}

body.is-home-page .premium-bento-event {
    padding: 0.55rem 0;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(11, 45, 107, 0.07);
    color: inherit;
}

body.is-home-page .premium-bento-event:last-child {
    border-bottom: 0;
}

body.is-home-page .premium-bento-event__date {
    display: inline-block;
    min-width: 3.75rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(87, 134, 199, 0.15);
    color: var(--premium-navy);
    font-weight: 700;
    font-size: 0.78rem;
    text-align: center;
}

body.is-home-page .premium-bento-event__title {
    font-weight: 600;
    font-size: 0.89rem;
    color: var(--premium-navy);
}

/* --- Newsletter CTA --- */
body.is-home-page .premium-newsletter-cta {
    overflow: hidden;
    color: #fff;
    position: relative;
    margin-inline: clamp(8px, 1.5vw, 16px);
    border-radius: clamp(24px, 2.5vw, 32px);
    border: 1px solid rgba(142, 176, 232, 0.22);
    box-shadow:
        0 36px 84px rgba(0, 8, 26, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
    background:
        radial-gradient(circle at 18% 22%, rgba(87, 134, 199, 0.1) 0%, transparent 38%),
        radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.07) 0%, transparent 30%),
        linear-gradient(155deg, #071a43 0%, #0b2d6b 52%, #050f24 100%);
}

body.is-home-page .premium-newsletter-cta__glow {
    position: absolute;
    inset-inline-start: -20%;
    top: -30%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(87, 134, 199, 0.18) 0%, transparent 70%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

body.is-home-page .premium-newsletter-cta .container {
    position: relative;
    z-index: 2;
}

body.is-home-page .premium-newsletter-doodles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.11;
    z-index: 1;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.2' d='M20 72c28-42 132-62 174-62' opacity='0.65'/%3E%3Ccircle cx='40' cy='36' r='9' stroke='%23ffffff' stroke-width='1' fill='none' opacity='0.7'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' d='M150 94l6-22 12 8-21 4zm-118-54l22 6-14 14z' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 220px 130px;
    background-repeat: repeat;
}

body.is-home-page .premium-newsletter-cta__title {
    font-size: clamp(1.65rem, 3.2vw, 2.4rem);
    font-weight: 800;
}

body.is-home-page .premium-newsletter-cta__lead {
    color: rgba(255, 255, 255, 0.86);
}

body.is-home-page .premium-newsletter-form__inner {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.35rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
}

body.is-home-page .premium-newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 0.55rem 0.95rem;
    color: var(--premium-navy);
}

body.is-home-page .btn-premium-newsletter {
    border-radius: 999px;
    border: none;
    padding: 0.55rem 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #5786c7 0%, #466aa8 100%);
    color: #fff;
}

body.is-home-page .premium-newsletter-cta__art {
    margin: 0 auto;
    max-width: min(460px, 100%);
    min-height: 260px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

body.is-home-page .premium-newsletter-cta__img {
    width: auto;
    max-height: min(440px, 56vh);
    object-fit: contain;
    filter: drop-shadow(0 36px 64px rgba(0, 0, 0, 0.5));
}

body.is-home-page .premium-newsletter-cta__fallback-globe {
    width: min(300px, 88%);
    height: auto;
    display: block;
    margin-inline: auto;
    filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.42));
}

/* --- Testimonials (premium home) — row of 3 cards on desktop --- */
body.is-home-page .premium-mock-testimonials-section {
    position: relative;
    overflow: visible;
    background: transparent;
}

body.is-home-page .premium-mock-testimonials-section::before {
    display: none;
}

body.is-home-page .premium-testimonials-header {
    max-width: min(40rem, 100%);
}

body.is-home-page .premium-testimonials-kicker {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(26, 43, 75, 0.45);
    margin: 0;
}

body.is-home-page .premium-testimonials-lead {
    font-size: 0.845rem;
    line-height: 1.52;
    color: rgba(26, 43, 75, 0.54);
}

body.is-home-page .premium-testimonials-board {
    max-width: min(1140px, 100%);
    margin-inline: auto;
    padding: clamp(0.95rem, 2.2vw, 1.2rem) clamp(0.88rem, 3vw, 1.22rem)
        clamp(0.82rem, 2vw, 1.05rem);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 18px 48px rgba(11, 45, 107, 0.06),
        0 2px 8px rgba(15, 32, 68, 0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.is-home-page .premium-testimonials-heading {
    color: #1a2b4b;
    font-weight: 800;
    font-size: clamp(1.12rem, 2.65vw, 1.42rem);
    line-height: 1.34;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

body.is-home-page .premium-testimonials-swiper-shell {
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
}

body.is-home-page .premium-testimonials-swiper {
    position: relative;
    overflow: hidden;
    padding: 2px 0 6px;
    max-width: 100%;
    margin-inline: auto;
}

body.is-home-page .premium-testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

body.is-home-page .premium-testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

body.is-home-page .premium-testimonials-swiper .testimonial_card.premium-mock-testimonial-card {
    border-radius: 12px;
    padding: 0 !important;
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    text-align: start;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(11, 45, 107, 0.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 8px 24px rgba(11, 45, 107, 0.05);
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

body.is-home-page .premium-testimonials-swiper .premium-mock-testimonial-card:hover {
    transform: translateY(-1px);
    border-color: rgba(87, 134, 199, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 14px 36px rgba(11, 45, 107, 0.07);
}

body.is-home-page .premium-mock-testimonial-card__inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.72rem;
    padding: 0.72rem 0.82rem;
    direction: ltr;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    body.is-home-page.rtl .premium-mock-testimonial-card__inner {
        flex-direction: row-reverse;
    }
}

body.is-home-page .premium-mock-testimonial-card__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

body.is-home-page.rtl .premium-mock-testimonial-card__main {
    direction: rtl;
    text-align: right;
}

body.is-home-page:not(.rtl) .premium-mock-testimonial-card__main {
    direction: ltr;
    text-align: left;
}

body.is-home-page .premium-mock-testimonial-card__stars {
    gap: 0.12rem;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
}

body.is-home-page .premium-mock-testimonial-card__stars i {
    font-size: 0.72rem;
}

body.is-home-page .premium-mock-testimonial-card__stars i.filled,
body.is-home-page .premium-mock-testimonial-card .rating i.filled {
    color: #e8a826;
}

body.is-home-page .premium-mock-testimonial-card__stars i.fa-star-o {
    color: rgba(26, 43, 75, 0.15);
}

body.is-home-page .premium-mock-testimonial-card__feedback {
    border: none;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
}

body.is-home-page .premium-mock-testimonial-card__text {
    padding: 0;
    margin: 0.12rem 0 0;
    font-size: 0.8rem;
    line-height: 1.62;
    color: rgba(45, 55, 72, 0.88);
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    body.is-home-page .premium-testimonials-swiper .premium-mock-testimonial-card__text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        line-clamp: 5;
        overflow: hidden;
    }
}

body.is-home-page .premium-mock-testimonial-card__name {
    color: #1a2b4b;
    font-weight: 800;
    font-size: 0.8rem;
    line-height: 1.3;
}

body.is-home-page .premium-mock-testimonial-card__role {
    color: rgba(26, 43, 75, 0.45);
    margin-top: 0;
    font-size: 0.7rem;
    line-height: 1.42;
}

body.is-home-page .premium-mock-testimonial-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 3px rgba(87, 134, 199, 0.18);
}

body.is-home-page .premium-mock-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.is-home-page .premium-testimonials-pagination-wrap {
    margin-top: 0.12rem;
}

body.is-home-page .premium-testimonials-pagination {
    position: relative;
}

body.is-home-page.dark .premium-testimonials-board {
    background: rgba(22, 32, 56, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

body.is-home-page.dark .premium-testimonials-kicker {
    color: rgba(229, 231, 235, 0.45);
}

body.is-home-page.dark .premium-testimonials-lead,
body.is-home-page.dark .premium-mock-testimonial-card__role {
    color: rgba(229, 231, 235, 0.5);
}

body.is-home-page.dark .premium-testimonials-heading,
body.is-home-page.dark .premium-mock-testimonial-card__name {
    color: #f9fafb;
}

body.is-home-page.dark .premium-testimonials-swiper .testimonial_card.premium-mock-testimonial-card {
    background: rgba(30, 41, 72, 0.65) !important;
    border-color: rgba(255, 255, 255, 0.09);
}

body.is-home-page.dark .premium-mock-testimonial-card__text {
    color: rgba(243, 244, 246, 0.9);
}

body.is-home-page.dark .premium-mock-testimonial-card__stars i.fa-star-o {
    color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 575px) {
    body.is-home-page .premium-testimonials-board {
        border-radius: 12px;
        padding: 0.9rem 0.82rem 0.78rem;
    }

    body.is-home-page .premium-testimonials-swiper {
        max-width: 100%;
    }

    body.is-home-page .premium-mock-testimonial-card__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.82rem 0.72rem;
        gap: 0.52rem;
    }

    body.is-home-page .premium-mock-testimonial-card__avatar {
        width: 48px;
        height: 48px;
    }

    body.is-home-page.rtl .premium-mock-testimonial-card__main,
    body.is-home-page:not(.rtl) .premium-mock-testimonial-card__main {
        align-items: center;
        text-align: center;
    }

    body.is-home-page .premium-mock-testimonial-card__stars {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-testimonials-swiper .premium-mock-testimonial-card:hover {
        transform: none;
    }

    body.is-home-page .premium-testimonials-board {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.82);
    }
}

/* --- Premium footer (كل الصفحات): بنر اختياري + شبكة أعمدة --- */
body .footer.footer-premium-visual.bg-navy {
    padding-bottom: env(safe-area-inset-bottom);
    background: #5786c7 !important;
}

.footer.footer-premium-visual .footer-premium-visual__banner-outer {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.footer.footer-premium-visual .footer-premium-visual__banner-card {
    border-radius: clamp(22px, 3vw, 32px);
    background: linear-gradient(138deg, #001839 0%, #0e3270 52%, #00122c 100%);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(142, 176, 232, 0.2);
}

.footer.footer-premium-visual .footer-premium-visual__banner-inner--geo.row {
    flex-direction: row;
    direction: ltr !important;
}

.footer.footer-premium-visual .footer-premium-visual__banner-text-col {
    direction: rtl;
    text-align: right;
}

body:not(.rtl) .footer.footer-premium-visual .footer-premium-visual__banner-text-col {
    direction: ltr;
    text-align: center;
}

@media (min-width: 992px) {
    body:not(.rtl) .footer.footer-premium-visual .footer-premium-visual__banner-text-col {
        text-align: left;
    }
}

.footer.footer-premium-visual .footer-premium-visual__banner-inner {
    isolation: isolate;
}

.footer.footer-premium-visual .footer-premium-visual__banner-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.14;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 120'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.1' d='M10 88c32-38 120-58 220-42' opacity='0.7'/%3E%3Cellipse cx='44' cy='38' rx='28' ry='12' fill='none' stroke='%23ffffff' stroke-width='0.9' opacity='0.55'/%3E%3Cellipse cx='190' cy='28' rx='22' ry='10' fill='none' stroke='%23ffffff' stroke-width='0.85' opacity='0.5'/%3E%3Cpath fill='%23ffffff' fill-opacity='0.45' d='M52 24l16-6-4 16-8-10z'/%3E%3C/svg%3E");
    background-size: 280px 140px;
    background-repeat: repeat;
}

.footer.footer-premium-visual .footer-premium-visual__banner-title {
    font-size: clamp(1.35rem, 2.6vw, 1.82rem);
    font-weight: 800;
    line-height: 1.42;
}

.footer.footer-premium-visual .footer-premium-visual__banner-lead {
    color: rgba(210, 224, 255, 0.88);
    font-size: 0.94rem;
    line-height: 1.8;
    max-width: 36em;
    margin-inline: auto;
}

@media (min-width: 992px) {
    .footer.footer-premium-visual .footer-premium-visual__banner-text-col {
        text-align: start;
    }

    .footer.footer-premium-visual .footer-premium-visual__banner-text-col .footer-premium-visual__banner-lead {
        margin-inline-start: 0;
        margin-inline-end: auto;
    }

    .footer.footer-premium-visual .footer-premium-visual__banner-photo-col {
        text-align: center;
    }
}

.footer.footer-premium-visual .footer-premium-visual__banner-fields-inline {
    direction: ltr !important;
    max-width: min(520px, 100%);
    margin-inline: auto;
    flex-direction: row;
    align-items: stretch;
    min-height: 2.72rem;
    border-radius: 999px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.12);
}

@media (min-width: 992px) {
    .footer.footer-premium-visual .footer-premium-visual__banner-text-col .footer-premium-visual__banner-fields-inline {
        margin-inline-end: auto;
        margin-inline-start: 0;
        width: 100%;
        max-width: min(520px, 100%);
    }
}

.footer.footer-premium-visual .footer-premium-visual__banner-error {
    text-align: center;
}

@media (min-width: 992px) {
    .footer.footer-premium-visual .footer-premium-visual__banner-text-col .footer-premium-visual__banner-error {
        text-align: start;
    }
}

.footer.footer-premium-visual .footer-premium-visual__banner-input {
    padding: 0.52rem 1rem;
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    outline: none;
    border-radius: 999px 0 0 999px;
    background: #fff;
    color: #1a2744;
    text-align: right;
    direction: rtl;
}

body:not(.rtl) .footer.footer-premium-visual .footer-premium-visual__banner-input {
    text-align: left;
    direction: ltr;
    border-radius: 999px 0 0 999px;
}

.footer.footer-premium-visual .footer-premium-visual__banner-input::placeholder {
    color: rgba(120, 128, 140, 0.95);
    opacity: 1;
}

.footer.footer-premium-visual .footer-premium-visual__banner-input:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(14, 50, 112, 0.35);
}

.footer.footer-premium-visual .footer-premium-visual__banner-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #AAC8F2 0%, #74a3de 42%, #5786c7 100%);
    color: #081018;
    font-weight: 800;
    padding: 0.52rem 1.35rem;
    font-size: 0.8rem;
    border: none;
    white-space: nowrap;
}

.footer.footer-premium-visual .footer-premium-visual__banner-submit:hover {
    filter: brightness(1.05);
}

.footer.footer-premium-visual .footer-premium-visual__banner-submit:focus-visible {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.5);
}

.footer.footer-premium-visual .footer-premium-visual__banner-photo {
    max-height: min(310px, 42vh);
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.38));
}

.footer.footer-premium-visual .footer-premium-visual__main {
    /* أصغر من pt-45 / pb-20 في الواجهة — فوتر مدمج */
    padding-top: clamp(0.9rem, 2.6vw, 1.45rem) !important;
    padding-bottom: clamp(0.8rem, 2.4vw, 1.25rem) !important;
}

@media (min-width: 992px) {
    .footer.footer-premium-visual .footer-premium-visual__main {
        padding-top: clamp(1.05rem, 2.6vw, 1.65rem) !important;
        padding-bottom: clamp(0.9rem, 2.3vw, 1.4rem) !important;
    }
}

.footer.footer-premium-visual .footer-premium-visual__cols {
    display: grid;
    gap: clamp(1rem, 2.8vw, 1.55rem);
}

body.rtl .footer.footer-premium-visual .footer-premium-visual__cols-grid {
    direction: rtl;
}

body:not(.rtl) .footer.footer-premium-visual .footer-premium-visual__cols-grid {
    direction: ltr;
}

@media (min-width: 992px) {
    .footer.footer-premium-visual .footer-premium-visual__cols {
        grid-template-columns: minmax(200px, 1.35fr) repeat(4, minmax(120px, 1fr));
        align-items: start;
        gap: clamp(1rem, 2.6vw, 1.55rem);
    }

    .footer.footer-premium-visual .footer-premium-visual__col--brand,
    .footer.footer-premium-visual .footer-premium-visual__col--links,
    .footer.footer-premium-visual .footer-premium-visual__col--nl {
        text-align: start;
    }

    .footer.footer-premium-visual .footer-premium-visual__brand-row {
        justify-content: flex-start !important;
    }

    .footer.footer-premium-visual .footer-premium-visual__social-list {
        justify-content: flex-start !important;
    }

    .footer.footer-premium-visual .footer-premium-visual__links {
        padding-inline-start: 0;
    }

    .footer.footer-premium-visual .footer-premium-visual__col--brand .footer-premium-visual__social-list {
        margin-inline: 0;
    }
}

.footer.footer-premium-visual .footer-premium-visual__col-title {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff !important;
}

.footer.footer-premium-visual .footer-premium-visual__links li {
    line-height: 1.55;
}

.footer.footer-premium-visual .footer-premium-visual__tagline {
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.865rem;
    font-weight: 700;
}

.footer.footer-premium-visual .footer-premium-visual__lead {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.62;
}

.footer.footer-premium-visual .footer-premium-visual__muted {
    color: rgba(255, 255, 255, 0.7);
}

.footer.footer-premium-visual .footer-premium-visual__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.855rem;
    text-decoration: none;
    padding-block: 0.12rem;
    transition: color 0.18s ease, transform 0.18s ease;
}

.footer.footer-premium-visual .footer-premium-visual__link::before {
    content: '–';
    flex-shrink: 0;
    display: inline-block;
    opacity: 0.6;
    font-weight: 600;
}

.footer.footer-premium-visual .footer-premium-visual__link:hover {
    color: #f4d983;
}

.footer.footer-premium-visual .footer-premium-visual__crest {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.footer.footer-premium-visual .footer-premium-visual__crest--small {
    max-height: 32px;
}

.footer.footer-premium-visual .footer-premium-visual__brand-link {
    gap: 0.75rem;
    max-width: 100%;
}

.footer.footer-premium-visual .footer-premium-visual__brand-name {
    font-size: clamp(0.95rem, 2vw, 1.14rem);
    line-height: 1.35;
}

.footer.footer-premium-visual .footer-premium-visual__social-list {
    gap: 0.42rem;
}

.footer.footer-premium-visual .footer-premium-visual__social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.footer.footer-premium-visual .footer-premium-visual__social-circle:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.footer.footer-premium-visual .footer-premium-visual__social-icon {
    width: 17px;
    height: 17px;
    max-height: 17px;
    max-width: 17px;
    object-fit: contain;
    filter: none;
    opacity: 0.92;
}

.footer.footer-premium-visual .footer-premium-visual__aside-input {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    font-size: 0.8125rem !important;
    padding: 0.5rem 0.72rem !important;
    line-height: 1.35;
}

.footer.footer-premium-visual .footer-premium-visual__aside-input:focus-visible {
    border-color: rgba(244, 217, 131, 0.55) !important;
    box-shadow: 0 0 0 2px rgba(244, 217, 131, 0.12);
}

.footer.footer-premium-visual .footer-premium-visual__aside-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer.footer-premium-visual .footer-premium-visual__aside-submit {
    background: #fff;
    color: #0c1f45 !important;
    border: 1px solid rgba(255, 255, 255, 0.88) !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 0.85rem !important;
    transition:
        filter 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.footer.footer-premium-visual .footer-premium-visual__aside-submit:hover {
    filter: brightness(0.96);
}

.footer.footer-premium-visual .footer-premium-visual__aside-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.footer.footer-premium-visual .footer-premium-visual__association-phone-label {
    color: rgba(255, 255, 255, 0.92);
}

/* نموذج الرابطة: عمود دائماً؛ زر بعرض كامل */
.footer.footer-premium-visual .footer-premium-visual__association-form {
    display: flex;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    max-width: 100%;
}

.footer.footer-premium-visual .footer-premium-visual__association-form .footer-premium-visual__aside-submit {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

@media (min-width: 576px) {
    .footer.footer-premium-visual .footer-premium-visual__association-form {
        flex-wrap: nowrap;
    }

    .footer.footer-premium-visual .footer-premium-visual__association-form .footer-premium-visual__aside-input {
        flex: 1 1 auto;
        margin-bottom: 0 !important;
    }
}

/* نموذج النشرة: عمودي على الجوال، صف مدمج على الشاشات الأوسع */
.footer.footer-premium-visual .footer-premium-visual__newsletter-form:not(.footer-premium-visual__association-form) {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 100%;
}

@media (min-width: 576px) {
    .footer.footer-premium-visual .footer-premium-visual__newsletter-form:not(.footer-premium-visual__association-form) {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.5rem;
    }

    .footer.footer-premium-visual .footer-premium-visual__newsletter-form:not(.footer-premium-visual__association-form) .footer-premium-visual__aside-input {
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0 !important;
    }

    .footer.footer-premium-visual .footer-premium-visual__newsletter-form:not(.footer-premium-visual__association-form) .footer-premium-visual__aside-submit {
        width: auto !important;
        flex: 0 0 auto;
        min-width: 6.5rem;
        padding-inline: 1rem !important;
    }
}

.footer.footer-premium-visual .footer-premium-visual__hairline {
    border-color: rgba(255, 255, 255, 0.11) !important;
}

.footer.footer-premium-visual .footer-premium-visual__bar {
    gap: 0.65rem;
    padding-top: 0.72rem !important;
    margin-top: 0.85rem !important;
}

.footer.footer-premium-visual .footer-premium-visual__top-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--premium-gold, #5786c7);
    color: var(--premium-gold, #5786c7);
    font-size: 1.12rem;
    line-height: 1;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.footer.footer-premium-visual .footer-premium-visual__top-btn:hover {
    background: rgba(87, 134, 199, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
}

.footer.footer-premium-visual .footer-premium-visual__top-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px #001a41,
        0 0 0 4px rgba(244, 217, 131, 0.55);
}

.footer.footer-premium-visual .footer-premium-home__rights {
    opacity: 0.82;
    line-height: 1.52;
    font-size: 0.8125rem !important;
}

/* Footer — gold separator */
body .footer.footer-premium.bg-navy:before,
body .footer.footer-premium-home-mock.bg-navy:before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(87, 134, 199, 0.35) 20%, rgba(170, 198, 240, 0.55) 50%, rgba(87, 134, 199, 0.35) 80%, transparent 100%);
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-feature-glass,
    body.is-home-page .premium-course-card-shell,
    body.is-home-page .premium-mock-course-card {
        transition: none !important;
    }

    body.is-home-page .premium-feature-glass:hover {
        transform: none !important;
    }

    body.is-home-page .premium-course-card-shell:hover .premium-mock-course-card {
        transform: none !important;
    }
}

/* ------------------------------------------------------------------
   Premium home — creative direction pass (luxury minimal + Montessori warmth)
------------------------------------------------------------------ */

:root {
    --lux-ivory: #faf9f6;
    --lux-champagne: #d4e4fb;
    --lux-wood-muted: rgba(139, 92, 46, 0.22);
    --lux-soft-navy: rgba(15, 32, 56, 0.92);
    --premium-glass-surface: rgba(255, 255, 255, 0.62);
}

body.is-home-page:not(.dark) {
    letter-spacing: 0;
}

body.is-home-page .premium-home-nav-shell {
    gap: clamp(12px, 2vw, 20px);
}

body.is-home-page #navbar.navbar--premium-home {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(250, 249, 246, 0.66) 100%
    );
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border-bottom: 1px solid rgba(15, 32, 68, 0.06);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 18px 40px rgba(15, 32, 68, 0.04);
}

body.is-home-page.dark #navbar.navbar--premium-home {
    background: linear-gradient(
        180deg,
        rgba(18, 26, 48, 0.92) 0%,
        rgba(12, 18, 36, 0.88) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.is-home-page .premium-nav-search-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(15, 32, 68, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 28px rgba(15, 32, 68, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

body.is-home-page.dark .premium-nav-search-form {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

body.is-home-page .premium-nav-search-form:focus-within {
    border-color: rgba(87, 134, 199, 0.4);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 0 0 3px rgba(87, 134, 199, 0.15),
        0 16px 40px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-nav-search-form__input {
    border: 0;
    background: transparent;
    font-size: 0.842rem;
    font-weight: 600;
    min-width: 120px;
    max-width: 200px;
    color: var(--lux-soft-navy);
    outline: none;
}

body.is-home-page.dark .premium-nav-search-form__input {
    color: rgba(249, 250, 251, 0.92);
}

body.is-home-page .premium-nav-search-form__btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(87, 134, 199, 0.16);
    color: rgba(148, 110, 20, 0.95);
    cursor: pointer;
    transition:
        transform 0.22s ease,
        background 0.22s ease;
}

body.is-home-page.dark .premium-nav-search-form__btn {
    background: rgba(87, 134, 199, 0.22);
    color: rgba(255, 244, 210, 0.95);
}

body.is-home-page .premium-nav-search-form__btn:hover {
    transform: scale(1.06);
    background: rgba(87, 134, 199, 0.26);
}

body.is-home-page .premium-nav-search-form--mobile {
    display: flex;
    align-items: center;
}

body.is-home-page .premium-nav-search-form--mobile .premium-nav-search-form__input {
    flex: 1;
    min-width: 0;
    max-width: none;
}

body.is-home-page .premium-nav-search-form--mobile:focus-within {
    box-shadow:
        0 0 0 3px rgba(87, 134, 199, 0.14),
        0 14px 40px rgba(11, 45, 107, 0.08);
}

body.is-home-page .premium-hero-cinematic-tagline {
    font-size: clamp(1rem, 2.05vw, 1.16rem);
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(11, 45, 107, 0.54);
    line-height: 1.5;
    margin: 0;
}

body.is-home-page.dark .premium-hero-cinematic-tagline {
    color: rgba(232, 213, 168, 0.78);
}

body .premium-montessori-float-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

body .premium-montessori-float-layer__svg {
    position: absolute;
    display: block;
}

body .premium-montessori-float-layer__svg--rings {
    width: min(88vmin, 680px);
    height: auto;
    top: 14%;
    inset-inline-end: -10%;
    opacity: 0.55;
    animation: premiumMontessoriDriftA 32s ease-in-out infinite alternate;
}

body .premium-montessori-float-layer__svg--leaf {
    width: min(48vmin, 380px);
    height: auto;
    bottom: 8%;
    inset-inline-start: -6%;
    opacity: 0.45;
    animation: premiumMontessoriDriftB 38s ease-in-out infinite alternate;
}

body.dark .premium-montessori-float-layer__svg--rings,
body.dark .premium-montessori-float-layer__svg--leaf {
    opacity: 0.09 !important;
    animation: none !important;
}

@keyframes premiumMontessoriDriftA {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-18px, 22px) rotate(4deg);
    }
}

@keyframes premiumMontessoriDriftB {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(14px, -16px) rotate(-3deg);
    }
}

body.is-home-page .premium-trust-strip {
    position: relative;
    z-index: 1;
    padding: clamp(1.15rem, 3vw, 1.75rem) 0;
    background: linear-gradient(
        180deg,
        rgba(250, 249, 246, 0.35) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
}

body.is-home-page.dark .premium-trust-strip {
    background: linear-gradient(
        180deg,
        rgba(18, 26, 48, 0.25) 0%,
        rgba(12, 18, 36, 0.05) 100%
    );
}

body.is-home-page .premium-trust-strip__inner {
    text-align: center;
}

body.is-home-page .premium-trust-strip__eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(26, 43, 75, 0.46);
    margin-bottom: 0.85rem;
}

body.is-home-page.dark .premium-trust-strip__eyebrow {
    color: rgba(229, 231, 235, 0.45);
}

body.is-home-page .premium-trust-strip__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 0.75rem;
}

body.is-home-page .premium-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem 0.55rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 32, 68, 0.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 36px rgba(15, 32, 68, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

body.is-home-page.dark .premium-trust-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

body.is-home-page .premium-trust-badge:hover {
    transform: translateY(-3px);
    border-color: rgba(87, 134, 199, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 22px 48px rgba(15, 32, 68, 0.08);
}

body.is-home-page .premium-trust-badge__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(87, 134, 199, 0.22), rgba(255, 255, 255, 0.4));
    color: rgba(148, 110, 20, 0.95);
    font-size: 0.92rem;
    flex-shrink: 0;
}

body.is-home-page.dark .premium-trust-badge__icon {
    background: rgba(87, 134, 199, 0.15);
    color: rgba(255, 237, 180, 0.95);
}

body.is-home-page .premium-trust-badge__text {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(26, 43, 75, 0.82);
    line-height: 1.38;
    text-align: right;
}

body.is-home-page:not(.rtl) .premium-trust-badge__text {
    text-align: left;
}

body.is-home-page.dark .premium-trust-badge__text {
    color: rgba(243, 244, 246, 0.9);
}

.premium-io-wait {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
}

.premium-io-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.78s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.is-home-page .premium-stats-item.premium-io-visible .premium-stats-item__number {
    animation: premiumStatSettle 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes premiumStatSettle {
    0% {
        opacity: 0.25;
        transform: translateY(8px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    body .premium-montessori-float-layer__svg--rings,
    body .premium-montessori-float-layer__svg--leaf {
        animation: none !important;
    }

    .premium-io-wait {
        opacity: 1;
        transform: none;
    }

    body.is-home-page .premium-stats-item.premium-io-visible .premium-stats-item__number {
        animation: none !important;
    }
}
/* Homepage KPI strip — spaced after courses */
body.is-home-page .premium-stats-strip {
    position: relative;
    z-index: 8;
    margin-top: clamp(2rem, 4vw, 3.25rem);
}

@media (max-width: 991px) {
    body.is-home-page .premium-stats-strip {
        margin-top: clamp(1.42rem, 5vw, 2.35rem);
    }
}

body.is-home-page .premium-stats-strip .premium-stats-strip__container {
    padding-top: clamp(0.42rem, 1.35vw, 1rem) !important;
    padding-bottom: clamp(1rem, 2.65vw, 1.72rem) !important;
}

body.is-home-page .premium-stats-strip .premium-stats-strip__panel {
    padding: clamp(1.08rem, 2.85vw, 1.72rem) clamp(0.92rem, 2.4vw, 2rem);
    border-radius: 28px;
    box-shadow:
        0 22px 64px rgba(0, 8, 28, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.is-home-page .premium-features-section__eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(232, 213, 168, 0.95);
    margin-bottom: 0.55rem;
}

body.is-home-page .premium-testimonials-verified {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(26, 43, 75, 0.48);
    letter-spacing: 0.04em;
}

body.is-home-page.dark .premium-testimonials-verified {
    color: rgba(229, 231, 235, 0.5);
}

body.is-home-page .premium-home-strip--testimonials {
    background: linear-gradient(180deg, rgba(246, 244, 238, 0.55) 0%, transparent 72%);
}

body.is-home-page.dark .premium-home-strip--testimonials {
    background: linear-gradient(180deg, rgba(18, 26, 48, 0.35) 0%, transparent 75%);
}

body.is-home-page .premium-home-conversion-banner {
    position: relative;
    overflow: hidden;
    margin-inline: clamp(10px, 2vw, 18px);
    margin-top: clamp(0.82rem, 2.38vw, 1.58rem);
    margin-bottom: clamp(0.4rem, 1.53vw, 0.82rem);
    border-radius: clamp(18px, 2.3vw, 26px);
    background: linear-gradient(158deg, #6b98d6 0%, #5786c7 42%, #4575b8 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 28px 70px rgba(20, 45, 95, 0.28);
}

body.is-home-page .premium-home-conversion-banner__glow {
    pointer-events: none;
    position: absolute;
    inset: -40% -28% auto;
    height: 92%;
    background: radial-gradient(ellipse 74% 62% at 30% 0%, rgba(255, 255, 255, 0.22), transparent 58%);
    z-index: 1;
}

body.is-home-page .premium-home-conversion-banner__title {
    color: #ffffff;
    font-size: clamp(1.42rem, 3.25vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.38;
}

body.is-home-page .premium-home-conversion-banner__hint {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.93rem, 1.95vw, 1.06rem);
    line-height: 1.74;
}

body.is-home-page .premium-home-conversion-banner__fields-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 520px;
}

@media (min-width: 576px) {
    body.is-home-page .premium-home-conversion-banner__fields-row {
        grid-template-columns: 1fr 1fr;
        max-width: 640px;
    }
}

body.is-home-page .premium-home-conversion-banner__input {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    padding: 0.62rem 1.1rem;
    font-size: 0.95rem;
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

body.is-home-page .premium-home-conversion-banner__input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

body.is-home-page .premium-home-conversion-banner__input:focus {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

body.is-home-page .premium-home-conversion-banner__field--wa {
    display: flex;
    align-items: stretch;
}

body.is-home-page .premium-home-conversion-banner__wa-btn {
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.62rem 1.15rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(180deg, #36d96a 0%, #25d366 45%, #1ebe5b 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.28) inset,
        0 10px 28px rgba(18, 140, 72, 0.45);
    transition:
        transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

body.is-home-page .premium-home-conversion-banner__wa-btn:hover {
    transform: translateY(-1px);
    color: #fff !important;
    filter: brightness(1.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.32) inset,
        0 14px 36px rgba(18, 140, 72, 0.55);
}

body.is-home-page .premium-home-conversion-banner__wa-btn .premium-home-conversion-banner__wa-icon {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}

body.is-home-page .premium-home-conversion-banner__wa-btn .premium-home-conversion-banner__wa-icon svg {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
}

body.is-home-page .premium-home-conversion-banner__actions {
    gap: clamp(10px, 2vw, 18px);
}

body.is-home-page .premium-home-conversion-banner__link-muted {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 600;
}

body.is-home-page .premium-home-conversion-banner__link-muted:hover {
    color: #ffffff;
    text-decoration: underline;
}

body.is-home-page .premium-home-conversion-banner__form .premium-home-conversion-banner__btn {
    cursor: pointer;
}

body.is-home-page .premium-home-conversion-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.74rem 1.85rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.925rem;
    color: #2c5282 !important;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 40, 90, 0.25);
    transition:
        transform 0.26s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.26s ease;
}

body.is-home-page .premium-home-conversion-banner__btn:hover {
    transform: translateY(-2px);
    background: #f0f7ff;
    color: #1a4971 !important;
    box-shadow: 0 22px 52px rgba(15, 40, 90, 0.3);
}

body.is-home-page .premium-home-conversion-banner__img {
    max-height: clamp(220px, 38vw, 380px);
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    border-radius: 18px;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.06) inset,
        0 28px 64px rgba(0, 0, 0, 0.32);
}

@media (min-width: 768px) {
    body.is-home-page .premium-home-conversion-banner__row {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    body.is-home-page .premium-home-conversion-banner__art-col {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    body.is-home-page .premium-home-conversion-banner__copy {
        padding-inline-start: clamp(0.75rem, 2vw, 1.75rem);
    }
}

@media (max-width: 767.98px) {
    body.is-home-page .premium-home-conversion-banner__row {
        display: flex;
        flex-direction: column;
    }

    body.is-home-page .premium-home-conversion-banner__art-col {
        order: -1;
        margin-bottom: 1rem;
    }
}

body.is-home-page .premium-products-header,
body.is-home-page .premium-latest-header,
body.is-home-page .premium-graduate-videos-header {
    margin-bottom: clamp(1.05rem, 2.8vw, 1.65rem);
}

body.is-home-page .premium-products-head-row,
body.is-home-page .premium-latest-head-row {
    gap: 0.75rem;
}

body.is-home-page .premium-product-card__price {
    margin-top: 0.82rem;
    padding: 0.38rem 0.62rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 248, 244, 0.96) 100%);
    border: 1px solid rgba(15, 32, 68, 0.07);
}

body.is-home-page.dark .premium-product-card__price {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

body.is-home-page .premium-products-section .premium-product-card:hover {
    box-shadow:
        0 20px 50px rgba(15, 32, 68, 0.1),
        0 0 0 1px rgba(87, 134, 199, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-home-conversion-banner__btn:hover {
        transform: none;
    }
}

/* Homepage polish layer — cinematic hero, quieter field, sliders, navbar, CTA ambience */
@media (prefers-reduced-motion: no-preference) {
    body.is-home-page
        .premium-hero-banner-mock
        .premium-hero-panel:not(.premium-hero-panel--saas-choreograph)
        > * {
        opacity: 0;
        animation: premiumLuxuryHeroReveal 0.78s cubic-bezier(0.22, 0.82, 0.24, 1) forwards;
    }

    body.is-home-page .premium-hero-banner-mock .premium-hero-panel:not(.premium-hero-panel--saas-choreograph) > *:nth-child(1) { animation-delay: 0.06s; }
    body.is-home-page .premium-hero-banner-mock .premium-hero-panel:not(.premium-hero-panel--saas-choreograph) > *:nth-child(2) { animation-delay: 0.14s; }
    body.is-home-page .premium-hero-banner-mock .premium-hero-panel:not(.premium-hero-panel--saas-choreograph) > *:nth-child(3) { animation-delay: 0.22s; }
    body.is-home-page .premium-hero-banner-mock .premium-hero-panel:not(.premium-hero-panel--saas-choreograph) > *:nth-child(4) { animation-delay: 0.3s; }
    body.is-home-page .premium-hero-banner-mock .premium-hero-panel:not(.premium-hero-panel--saas-choreograph) > *:nth-child(5) { animation-delay: 0.38s; }
    body.is-home-page .premium-hero-banner-mock .premium-hero-panel:not(.premium-hero-panel--saas-choreograph) > *:nth-child(6) { animation-delay: 0.46s; }
}

@keyframes premiumLuxuryHeroReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-hero-banner-mock .premium-hero-panel:not(.premium-hero-panel--saas-choreograph) > * {
        opacity: 1 !important;
        animation: none !important;
    }

    body.is-home-page .premium-hero-banner-mock--saas .premium-hero-enter {
        opacity: 1 !important;
        animation: none !important;
    }
}

@keyframes premiumHeroBlobDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10px, 12px) scale(1.04); }
}

@keyframes premiumHeroDecoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes premiumHeroDecoFloatCube {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-12px) rotate(16deg); }
}

@keyframes premiumCtaParticles {
    0% {
        opacity: 0.42;
        transform: translate3d(0, 8px, 0);
    }
    100% {
        opacity: 0.68;
        transform: translate3d(4px, -10px, 0);
    }
}

@keyframes premiumCtaRayShift {
    0% { transform: rotate(-1deg) scale(1.02); opacity: 0.55; }
    100% { transform: rotate(1.4deg) scale(1.04); opacity: 0.82; }
}

body.is-home-page .premium-hero-mock-photo-stage {
    position: relative;
    max-width: min(520px, 100%);
}

body.is-home-page .premium-hero-mock-visual-col {
    position: relative;
    z-index: 1;
}

body.is-home-page .premium-hero-mock-ambient {
    position: absolute;
    inset: -14% -10% -8% -10%;
    pointer-events: none;
    z-index: 0;
}

body.is-home-page .premium-hero-mock-ambient__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.88;
    animation: premiumHeroBlobDrift 14s ease-in-out infinite alternate;
}

body.is-home-page .premium-hero-mock-ambient__blob--warm {
    width: 64%;
    height: 56%;
    left: 6%;
    top: 16%;
    background: radial-gradient(circle at 40% 40%, rgba(87, 134, 199, 0.42) 0%, rgba(238, 246, 255, 0.14) 55%, transparent 72%);
}

body.is-home-page .premium-hero-mock-ambient__blob--cool {
    width: 58%;
    height: 54%;
    right: -6%;
    bottom: 4%;
    background: radial-gradient(circle at 50% 50%, rgba(147, 197, 253, 0.26) 0%, rgba(11, 45, 107, 0.12) 58%, transparent 74%);
    animation-delay: -4.5s;
}

body.is-home-page .premium-hero-mock-floating-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

body.is-home-page .premium-hero-mock-deco {
    position: absolute;
    display: block;
    opacity: 0.58;
}

body.is-home-page .premium-hero-mock-deco--ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid rgba(87, 134, 199, 0.42);
    background: rgba(255, 255, 255, 0.42);
    top: 8%;
    right: 2%;
    box-shadow:
        0 16px 40px rgba(11, 45, 107, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    animation: premiumHeroDecoFloat 9s ease-in-out infinite;
}

body.is-home-page .premium-hero-mock-deco--segment {
    width: 7px;
    height: 56px;
    background: linear-gradient(180deg, rgba(11, 45, 107, 0.32), rgba(87, 134, 199, 0.38));
    left: -2%;
    top: 36%;
    border-radius: 999px;
    animation: premiumHeroDecoFloat 11s ease-in-out infinite;
    animation-delay: -2s;
}

body.is-home-page .premium-hero-mock-deco--cube {
    width: 30px;
    height: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(228, 234, 245, 0.78));
    border: 1px solid rgba(11, 45, 107, 0.12);
    right: 10%;
    bottom: 14%;
    border-radius: 9px;
    box-shadow: 0 18px 36px rgba(11, 45, 107, 0.1);
    animation: premiumHeroDecoFloatCube 10s ease-in-out infinite;
    animation-delay: -4s;
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-hero-mock-ambient__blob,
    body.is-home-page .premium-hero-mock-deco {
        animation: none !important;
    }
}

body.is-home-page .premium-hero-social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: clamp(0.78rem, 1.85vw, 0.88rem);
    font-weight: 800;
    letter-spacing: -0.012em;
    color: var(--premium-navy);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(11, 45, 107, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 16px 42px rgba(11, 45, 107, 0.09),
        0 0 0 1px rgba(87, 134, 199, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.is-home-page .premium-hero-mock-photo-wrap {
    position: relative;
    z-index: 3;
    padding: 0.38rem;
}

body.is-home-page .premium-hero-mock-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 3% 5% 7% 5%;
    border-radius: clamp(28px, 6vw, 34px);
    background: radial-gradient(ellipse at 48% 36%, rgba(87, 134, 199, 0.26) 0%, rgba(238, 246, 255, 0.45) 50%, transparent 70%);
    filter: blur(24px);
    z-index: 0;
}

body.is-home-page .premium-hero-mock-photo {
    border-radius: clamp(26px, 4vw, 32px);
    position: relative;
    z-index: 1;
    box-shadow:
        0 56px 132px rgba(11, 45, 107, 0.16),
        0 26px 56px rgba(11, 45, 107, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

body.is-home-page .premium-hero-mock-title {
    font-size: clamp(1.78rem, 3.92vw, 3rem);
    line-height: 1.34;
    letter-spacing: -0.022em;
}

body.is-home-page .btn-premium-hero-primary {
    padding: 0.76rem 1.95rem;
    box-shadow:
        0 22px 56px rgba(87, 134, 199, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition:
        transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.28s ease,
        filter 0.28s ease;
}

body.is-home-page .btn-premium-hero-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow:
        0 28px 68px rgba(87, 134, 199, 0.46),
        0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

body.is-home-page .btn-premium-hero-secondary--mock {
    transition:
        transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

body.is-home-page .btn-premium-hero-secondary--mock:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(11, 45, 107, 0.12);
}

@media (max-width: 991px) {
    body.is-home-page .premium-hero-banner-mock .premium-hero-banner-mock__grid {
        padding-block: clamp(1.42rem, 4.25vw, 2.02rem);
    }
}

body.is-home-page #navbar.navbar--premium-home.sticky {
    backdrop-filter: blur(22px) saturate(185%);
    -webkit-backdrop-filter: blur(22px) saturate(185%);
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(11, 45, 107, 0.07) !important;
    box-shadow: 0 18px 50px rgba(11, 45, 107, 0.09), 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

body.is-home-page #navbar.navbar--premium-home .navbar-nav .nav-link {
    transition:
        color 0.22s ease,
        transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.is-home-page #navbar.navbar--premium-home.navbar--elevated .navbar-nav > .nav-item > .nav-link:hover {
    color: rgba(87, 134, 199, 0.95) !important;
    transform: translateY(-1px);
}

body.is-home-page #navbar.navbar--premium-home.sticky .btn-premium-nav-cta--gold {
    padding: 0.52rem 1.42rem;
    font-size: 0.932rem;
    box-shadow:
        0 12px 36px rgba(87, 134, 199, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

body.is-home-page #navbar.navbar--premium-home.sticky .navbar-brand:hover .navbar-logo-home-premium {
    transform: scale(1.02);
}

body.is-home-page section.home-sections.container.premium-products-section,
body.is-home-page section.home-sections.container.premium-latest-section {
    padding-top: clamp(1.82rem, 3.06vw, 2.55rem) !important;
    padding-bottom: clamp(1.82rem, 3.06vw, 2.55rem) !important;
}

body.is-home-page .premium-mock-testimonials-section.pb-25,
body.is-home-page .premium-mock-testimonials-section {
    padding-bottom: clamp(1.38rem, 2.72vw, 2.15rem) !important;
}

body.is-home-page .premium-home-conversion-banner .container {
    position: relative;
    z-index: 2;
    padding-block: clamp(1.92rem, 3.74vw, 2.76rem);
}

body.is-home-page .premium-home-conversion-banner__particles {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.55;
    will-change: opacity, transform;
    background-image:
        radial-gradient(1.4px 1.4px at 10% 20%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.2px 1.2px at 78% 16%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1.6px 1.6px at 42% 72%, rgba(87, 134, 199, 0.35), transparent),
        radial-gradient(1px 1px at 88% 64%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.3px 1.3px at 24% 88%, rgba(147, 197, 253, 0.4), transparent),
        radial-gradient(1px 1px at 66% 40%, rgba(255, 255, 255, 0.3), transparent);
    background-repeat: no-repeat;
    background-size:
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%;
}

@media (prefers-reduced-motion: no-preference) {
    body.is-home-page .premium-home-conversion-banner__particles {
        animation: premiumCtaParticles 22s linear infinite;
    }

    body.is-home-page .premium-home-conversion-banner__rays {
        animation: premiumCtaRayShift 18s ease-in-out infinite alternate;
    }
}

body.is-home-page .premium-home-conversion-banner__rays {
    pointer-events: none;
    position: absolute;
    inset: -24% -8%;
    z-index: 0;
    opacity: 0.58;
    background:
        linear-gradient(102deg, transparent 40%, rgba(255, 250, 240, 0.07) 50%, transparent 60%),
        linear-gradient(124deg, transparent 52%, rgba(120, 178, 255, 0.06) 57%, transparent 65%);
    mix-blend-mode: screen;
    transform-origin: 50% 0%;
}

body.is-home-page .premium-home-conversion-banner__btn {
    position: relative;
}

body.is-home-page .premium-home-conversion-banner__btn::before {
    content: '';
    position: absolute;
    inset: -8px -12px -6px -12px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.45), transparent 68%);
    z-index: -1;
    filter: blur(14px);
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

body.is-home-page .premium-home-conversion-banner__btn:hover::before {
    opacity: 0.92;
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    body.is-home-page .premium-home-conversion-banner__particles,
    body.is-home-page .premium-home-conversion-banner__rays {
        animation: none !important;
    }

    body.is-home-page .premium-home-conversion-banner__btn:hover::before {
        transform: none;
    }
}

body.is-home-page .premium-course-card-shell {
    border-radius: clamp(16px, 2.15vw, 22px);
}

body.is-home-page .premium-course-card-shell .montessori-card-glass {
    border-radius: clamp(16px, 2.15vw, 22px) !important;
}

body.is-home-page .premium-mock-course-card {
    border-radius: clamp(16px, 2.15vw, 22px);
    border: 1px solid rgba(11, 45, 107, 0.07);
}

body.is-home-page .premium-mock-course-card__title {
    font-size: 1.2rem;
    letter-spacing: -0.015em;
}

body.is-home-page .premium-mock-course-card__body {
    padding: 1.14rem 1.12rem 1.42rem;
}

body.is-home-page .premium-course-card-shell:hover .premium-mock-course-card {
    transform: translateY(-11px);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 1) inset,
        0 42px 86px rgba(11, 45, 107, 0.12),
        0 0 0 1px rgba(87, 134, 199, 0.18);
}

body.is-home-page .premium-mock-course-card__stars {
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55));
}

body.is-home-page .premium-latest-classes-swiper .swiper-button-prev,
body.is-home-page .premium-latest-classes-swiper .swiper-button-next,
body.is-home-page .premium-products-swiper .swiper-button-prev,
body.is-home-page .premium-products-swiper .swiper-button-next {
    transition:
        transform 0.26s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.26s ease,
        border-color 0.26s ease,
        color 0.26s ease,
        filter 0.26s ease;
}

body.is-home-page .premium-latest-classes-swiper .swiper-button-prev:hover,
body.is-home-page .premium-latest-classes-swiper .swiper-button-next:hover,
body.is-home-page .premium-products-swiper .swiper-button-prev:hover,
body.is-home-page .premium-products-swiper .swiper-button-next:hover {
    transform: translateY(-2px) scale(1.03);
}

body.is-home-page .premium-product-card {
    border-radius: clamp(17px, 2.25vw, 24px);
    border: 1px solid rgba(11, 45, 107, 0.07);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 48px rgba(11, 45, 107, 0.078);
}

body.is-home-page .premium-product-card__title {
    font-size: 1.1rem;
    letter-spacing: -0.015em;
}

body.is-home-page .premium-products-section .premium-product-card:hover {
    transform: translateY(-11px);
    box-shadow:
        0 24px 64px rgba(15, 32, 68, 0.12),
        0 0 0 1px rgba(87, 134, 199, 0.2),
        0 2px 0 rgba(255, 255, 255, 0.88) inset;
}

body.is-home-page .premium-product-card__price-now {
    font-weight: 900;
}

body.is-home-page .premium-testimonials-board {
    border-radius: clamp(17px, 2.25vw, 22px);
    padding: clamp(0.92rem, 2vw, 1.08rem) clamp(0.88rem, 3vw, 1.05rem)
        clamp(0.78rem, 1.9vw, 0.92rem);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 22px 58px rgba(11, 45, 107, 0.07),
        0 3px 10px rgba(15, 32, 68, 0.04);
}

body.is-home-page .premium-testimonials-heading {
    font-size: clamp(1.18rem, 2.82vw, 1.54rem);
}

body.is-home-page .premium-testimonials-swiper .testimonial_card.premium-mock-testimonial-card {
    border-radius: clamp(14px, 2vw, 18px);
    border: 1px solid rgba(11, 45, 107, 0.07);
    transition:
        box-shadow 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.36s ease;
}

body.is-home-page .premium-testimonials-swiper .premium-mock-testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 22px 52px rgba(11, 45, 107, 0.1);
}

body.is-home-page .premium-mock-testimonial-card__stars i {
    font-size: 0.8rem;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5));
}

/* تعطيل حركة الظهور عند السكرول على الرئيسية */
body.is-home-page .reveal-up,
body.is-home-page .reveal-up.active {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

body.is-home-page .premium-io-wait,
body.is-home-page .premium-io-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

body.is-home-page .premium-stats-item.premium-io-visible .premium-stats-item__number {
    animation: none !important;
}

/* =====================================================================
   Homepage: responsive containment + lighter mobile GPU
   ===================================================================== */
@media (max-width: 991.98px) {
    body.is-home-page #app {
        max-width: 100%;
        overflow-x: hidden;
    }

    @supports (overflow: clip) {
        body.is-home-page #app {
            overflow-x: clip;
        }
    }

    body.is-home-page #navbar.navbar--premium-home.sticky {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97) !important;
    }

    body.is-home-page .premium-home-hero-wrap {
        overflow: hidden;
    }

    body.is-home-page .premium-hero-cinematic {
        min-height: min(86vh, 820px);
    }

    body.is-home-page .premium-hero-cinematic .pt-hero-cinematic {
        padding-top: clamp(92px, 16vh, 128px);
    }

    body.is-home-page .premium-hero-banner-mock__shell,
    body.is-home-page .premium-hero-cinematic__shell {
        min-height: 0 !important;
        padding-inline: clamp(0.65rem, 4vw, 0.92rem);
    }

    body.is-home-page .premium-hero-banner-mock__grid.row {
        margin-inline: 0;
    }

    body.is-home-page .premium-hero-banner-mock__grid.row > [class*='col'] {
        padding-inline: clamp(0.55rem, 3vw, 0.94rem);
    }

    body.is-home-page .premium-hero-mock-photo {
        max-height: min(440px, 58vh);
        border-radius: clamp(14px, 4vw, 22px);
        box-shadow: 0 18px 48px rgba(11, 45, 107, 0.1);
    }

    body.is-home-page .premium-hero-mock-sub {
        margin-inline-start: 0 !important;
        margin-inline-end: 0 !important;
        max-width: none;
        font-size: clamp(0.96rem, 3.85vw, 1.06rem);
        text-align: center;
    }

    body.is-home-page .premium-hero-actions--mock-variant {
        gap: 0.68rem !important;
    }

    body.is-home-page .premium-home-conversion-banner__particles {
        animation: none !important;
        opacity: 0.28;
    }

    body.is-home-page .premium-home-conversion-banner__rays {
        opacity: 0.35 !important;
        animation: none !important;
    }
}

@media (max-width: 575.98px) {
    body.is-home-page .premium-hero-cinematic__title {
        font-size: clamp(1.38rem, 6.35vw, 2.06rem);
        letter-spacing: -0.025em;
    }

    body.is-home-page .premium-hero-actions--cinematic.gap-hero-cta {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
    }

    body.is-home-page .premium-hero-actions--cinematic.gap-hero-cta > .btn {
        width: 100%;
        justify-content: center;
    }

    body.is-home-page .premium-hero-mock-title {
        font-size: clamp(1.38rem, 6.35vw, 2.06rem);
        letter-spacing: -0.025em;
    }

    body.is-home-page .premium-hero-actions--mock-variant {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        max-width: 100%;
    }

    body.is-home-page .premium-hero-actions--mock-variant > .btn {
        width: 100%;
        justify-content: center;
    }

    body.is-home-page .premium-hero-trust-lines__l1 {
        font-size: clamp(0.82rem, 3.85vw, 0.93rem);
    }

    body.is-home-page .premium-hero-trust-lines__l2 {
        font-size: clamp(0.76rem, 3.48vw, 0.87rem);
    }

    body.is-home-page .premium-hero-banner-mock__wave--c {
        opacity: 0.42;
    }

    body.is-home-page section.home-sections .container {
        padding-inline: clamp(0.65rem, 4.2vw, 0.95rem);
    }
}

@media (max-width: 767.98px) {
    body.is-home-page .premium-pupil-bg--glitter {
        display: none !important;
    }

    body.is-home-page .bubbles-container {
        display: none !important;
    }

    body.is-home-page .premium-pupil-bg--speckles {
        opacity: 0.42 !important;
    }

    body.is-home-page .premium-pupil-bg--orbs {
        opacity: 0.72 !important;
    }
}

/* ==========================================================================
   Global top strip — replaces legacy utility top-navbar (marquee)
   ========================================================================== */

.premium-top-marquee {
    position: relative;
    z-index: 1002;
    overflow: hidden;
    border-bottom: 1px solid rgba(11, 45, 107, 0.08);
    background: linear-gradient(
        90deg,
        rgba(238, 244, 255, 0.98) 0%,
        rgba(251, 253, 255, 0.97) 42%,
        rgba(255, 255, 255, 0.99) 100%
    );
}

body.dark .premium-top-marquee {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, #141c2c 0%, #0f172a 55%, #0b1220 100%);
}

.premium-top-marquee__mask {
    overflow: hidden;
    width: 100%;
    padding: 0.42rem 0;
}

.premium-top-marquee__track {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    will-change: transform;
    animation: premiumTopMarqueeScroll 52s linear infinite;
}

.premium-top-marquee__item {
    font-family: var(--font-body, 'Cairo', sans-serif);
    font-size: clamp(0.78rem, 1.35vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(26, 54, 93, 0.92);
    padding-inline: 0.55rem;
}

body.dark .premium-top-marquee__item {
    color: rgba(226, 232, 240, 0.92);
}

.premium-top-marquee__sep {
    display: inline-block;
    padding: 0 0.15rem;
    font-weight: 700;
    color: rgba(201, 160, 80, 0.65);
    font-size: 0.75rem;
    user-select: none;
}

body.dark .premium-top-marquee__sep {
    color: rgba(250, 204, 21, 0.45);
}

.premium-top-marquee:hover .premium-top-marquee__track {
    animation-play-state: paused;
}

@keyframes premiumTopMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-top-marquee__track {
        animation: none;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.35rem;
        padding: 0.35rem 0.75rem;
        text-align: center;
    }

    .premium-top-marquee__sep {
        display: none;
    }

    .premium-top-marquee__item {
        padding-inline: 0.35rem;
    }
}

/* ==========================================================================
   صفحات داخلية / لوحة تحكم — توحيد الشريط مع مرجع الهوية (بدون كسر القائمة)
   ========================================================================== */
body:not(.dark) #navbar.navbar--premium-inner.glass-panel {
    border-radius: 0 0 var(--radius-lg, 24px) var(--radius-lg, 24px);
    box-shadow: var(--shadow-medium, 0 15px 40px rgba(15, 32, 68, 0.08));
    border-bottom: 1px solid rgba(15, 32, 68, 0.06);
}

body:not(.is-home-page):not(.dark) #navbar.navbar--premium-inner .navbar-nav > .nav-item > .nav-link {
    font-weight: 600;
    color: var(--navy, #0f2044);
}

body:not(.is-home-page):not(.dark) #navbar.navbar--premium-inner.navbar--elevated .navbar-nav > .nav-item > .nav-link:hover {
    color: var(--gold-dark, #466aa8) !important;
}

#panel_app {
    background-color: var(--cream, #faf7f2);
    min-height: 100vh;
}

/* إخفاء شريط نقاط السلايدر (الكبسولة الداكنة) على الرئيسية — يجب أن يكون آخراً لتجاوز الأنماط أعلاه */
body.is-home-page .premium-testimonials-pagination-wrap {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

body.is-home-page .premium-swiper-dots-shell.swiper-pagination {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Performance: disable continuous decorative animations on mobile and reduced-motion */
@media (max-width: 767.98px) {
    body.is-home-page .premium-pupil-bg--aurora,
    body.is-home-page .premium-pupil-bg--mesh,
    body.is-home-page .premium-pupil-bg--grid,
    body.is-home-page .premium-pupil-bg--orbs .orb,
    body.is-home-page .premium-hero-mock-photo,
    body.is-home-page .premium-hero-main-photo,
    body.is-home-page .premium-hero-banner-mock__wave,
    body.is-home-page .premium-hero-mock-floating-deco,
    body.is-home-page .loader-orbit,
    body.is-home-page .loader-orbit-inner,
    body.is-home-page .loader-orbit-dot {
        animation: none !important;
    }

    body.is-home-page .premium-pupil-bg--orbs {
        opacity: 0.55 !important;
    }

    a.whatsapp-que:before,
    a.whatsapp-que:after {
        animation: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    body.is-home-page .premium-pupil-bg,
    body.is-home-page .bubbles-container,
    body.is-home-page .premium-pupil-bg--glitter {
        display: none !important;
    }
}

/* Lazy video facade */
.video-facade {
    position: relative;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.video-facade__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-facade__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 68px;
    height: 68px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 32, 68, 0.82);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-facade:hover .video-facade__play {
    transform: scale(1.06);
}

.video-facade.is-loaded .video-facade__thumb,
.video-facade.is-loaded .video-facade__play {
    display: none;
}

.video-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

picture > img.img-cover,
.image-box picture,
.image-box picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
