/* ══════════════════════════════════════════════════════════
   SKILLS SECTION – "Explorez les compétences qui façonnent le futur"
   Reproduction fidèle du design premium
   ══════════════════════════════════════════════════════════ */

/* ── Variables ── */
.sk-section {
    --sk-violet: #A855F7;
    --sk-blue: #22D3EE;
    --sk-blue-electric: #3B82F6;
    --sk-indigo: #6366F1;
    --sk-pink: #EC4899;
    --sk-white: #FFFFFF;
    --sk-gray-50: #F9FAFB;
    --sk-gray-100: #F3F4F6;
    --sk-gray-200: #E5E7EB;
    --sk-gray-300: #D1D5DB;
    --sk-gray-400: #9CA3AF;
    --sk-gray-500: #6B7280;
    --sk-gray-600: #4B5563;
    --sk-gray-700: #374151;
    --sk-gray-800: #1F2937;
    --sk-gray-900: #111827;
    --sk-radius-sm: 8px;
    --sk-radius-md: 12px;
    --sk-radius-lg: 20px;
    --sk-radius-xl: 24px;
    --sk-radius-full: 9999px;
    --sk-ease: cubic-bezier(0.2, 0.9, 0.4, 1);
}

/* ── Section Root ── */
.sk-section {
    position: relative;
    padding: 3rem 0 2.5rem;
    background: linear-gradient(175deg, #FFFFFF 0%, #F8FAFF 30%, #F5F3FF 60%, #FAFAFE 100%);
    overflow: hidden;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* ── Texture subtile de fond ── */
.sk-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: skAmbientDrift 25s ease-in-out infinite alternate;
}

/* ── Background Elements ── */
.sk-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Nuages vaporeux */
.sk-cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    animation: skCloudDrift 30s ease-in-out infinite alternate;
}

.sk-cloud--1 {
    width: 700px; height: 700px;
    top: -200px; left: -200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, transparent 65%);
    animation-duration: 35s;
}

.sk-cloud--2 {
    width: 500px; height: 500px;
    top: 40%; right: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    animation-delay: -10s;
    animation-duration: 28s;
}

.sk-cloud--3 {
    width: 600px; height: 600px;
    bottom: -150px; left: 30%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 60%);
    animation-delay: -18s;
    animation-duration: 40s;
}

.sk-cloud--4 {
    width: 350px; height: 350px;
    top: 10%; left: 55%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.04) 0%, transparent 55%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.sk-cloud--5 {
    width: 400px; height: 400px;
    top: 55%; left: -120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    animation-delay: -8s;
    animation-duration: 32s;
}

.sk-cloud--6 {
    width: 300px; height: 300px;
    top: 70%; right: 15%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.04) 0%, transparent 55%);
    animation-delay: -14s;
    animation-duration: 22s;
}

.sk-cloud--7 {
    width: 500px; height: 500px;
    top: -50px; right: 5%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
    animation-delay: -3s;
    animation-duration: 38s;
}

/* Nappes de brume latérales */
.sk-mist {
    position: absolute;
    width: 300px;
    height: 100%;
    top: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    filter: blur(80px);
}
.sk-mist--left {
    left: -100px;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.06) 0%, transparent 100%);
    animation: skMistDrift 20s ease-in-out infinite alternate;
}
.sk-mist--right {
    right: -100px;
    background: linear-gradient(270deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    animation: skMistDrift 25s ease-in-out infinite alternate-reverse;
}

/* Orbes lumineuses */
.sk-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.sk-bg-orb--purple {
    width: 500px; height: 500px;
    top: -100px; left: -120px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    animation: skOrbFloat 20s ease-in-out infinite alternate;
}

.sk-bg-orb--pink {
    width: 400px; height: 400px;
    bottom: -80px; right: -100px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.09) 0%, transparent 70%);
    animation: skOrbFloat 25s ease-in-out infinite alternate-reverse;
}

/* Planète inclinée avec anneau gravitationnel (haut-gauche) */
.sk-planet {
    position: absolute;
    top: 4%;
    left: 9%;
    width: 110px;
    height: 110px;
    animation: skPlanetFloat 18s ease-in-out infinite;
    z-index: 0;
    transform-style: preserve-3d;
}

.sk-planet-body {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #60a5fa 0%, #2563eb 40%, #1e3a5f 75%, #0f1d3d 100%);
    box-shadow:
        0 0 40px rgba(37, 99, 235, 0.3),
        0 0 80px rgba(37, 99, 235, 0.1),
        inset -12px -12px 30px rgba(0, 0, 0, 0.4),
        inset 8px 8px 20px rgba(255, 255, 255, 0.15);
}

.sk-planet-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(10deg);
    box-shadow:
        0 0 20px rgba(96, 165, 250, 0.06),
        inset 0 0 20px rgba(96, 165, 250, 0.03);
    animation: skPlanetRingSpin 25s linear infinite;
    pointer-events: none;
}

.sk-planet-ring-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #60a5fa);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.5), 0 0 30px rgba(59, 130, 246, 0.15);
    transform: translate(-50%, -50%);
    animation: skPlanetDotPulse 4s ease-in-out infinite alternate;
}

/* Décalage de l'orbe violette à côté de la planète */
.sk-bg-orb--purple {
    width: 500px; height: 500px;
    top: -60px; left: -80px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    animation: skOrbFloat 20s ease-in-out infinite alternate;
}

/* Lueur centrale derrière le titre */
.sk-header-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 700px; height: 350px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.09) 0%, rgba(99, 102, 241, 0.04) 30%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    animation: skGlowPulse 7s ease-in-out infinite alternate;
}

/* Lignes orbitales décoratives avec rotation */
.sk-bg-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.06);
}

.sk-bg-orbit--1 {
    width: 600px; height: 600px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: skOrbitSpin 45s linear infinite;
    border-color: rgba(168, 85, 247, 0.08);
}

.sk-bg-orbit--2 {
    width: 450px; height: 450px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(59, 130, 246, 0.05);
    animation: skOrbitSpin 35s linear infinite reverse;
}

.sk-bg-orbit--3 {
    width: 300px; height: 300px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(236, 72, 153, 0.04);
    border-style: dashed;
    animation: skOrbitSpin 55s linear infinite;
}

/* Orbital traveling dots */
.sk-bg-orbit--1::after,
.sk-bg-orbit--2::after,
.sk-bg-orbit--3::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
}

.sk-bg-orbit--1::after {
    width: 10px; height: 10px;
    background: radial-gradient(circle at 30% 30%, #fff, rgba(168, 85, 247, 0.6));
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.15);
    animation: skOrbitDot1 6s ease-in-out infinite alternate;
}

.sk-bg-orbit--2::after {
    width: 6px; height: 6px;
    background: radial-gradient(circle at 30% 30%, #fff, rgba(59, 130, 246, 0.6));
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    animation: skOrbitDot2 5s ease-in-out infinite alternate 1s;
}

.sk-bg-orbit--3::after {
    width: 8px; height: 8px;
    background: radial-gradient(circle at 30% 30%, #fff, rgba(236, 72, 153, 0.6));
    box-shadow: 0 0 18px rgba(236, 72, 153, 0.4);
    animation: skOrbitDot3 7s ease-in-out infinite alternate 2s;
}

/* Light beam sweep */
.sk-light-beam {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.06), rgba(99, 102, 241, 0.08), rgba(59, 130, 246, 0.06), transparent);
    transform: rotate(-8deg);
    filter: blur(3px);
    pointer-events: none;
    animation: skBeamSweep 12s ease-in-out infinite;
}

/* Particules lumineuses */
.sk-bg-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.25);
    animation: skDotPulse 4s ease-in-out infinite alternate;
}

.sk-bg-dot--1 { top: 15%; left: 12%; width: 6px; height: 6px; animation-delay: 0s; }
.sk-bg-dot--2 { top: 25%; right: 18%; width: 4px; height: 4px; animation-delay: 1s; background: rgba(236, 72, 153, 0.25); }
.sk-bg-dot--3 { bottom: 30%; left: 8%; width: 5px; height: 5px; animation-delay: 2s; background: rgba(59, 130, 246, 0.25); }
.sk-bg-dot--4 { bottom: 20%; right: 10%; width: 6px; height: 6px; animation-delay: 3s; }
.sk-bg-dot--5 { top: 45%; left: 45%; width: 3px; height: 3px; animation-delay: 0.5s; background: rgba(168, 85, 247, 0.3); }
.sk-bg-dot--6 { top: 60%; right: 35%; width: 5px; height: 5px; animation-delay: 1.5s; background: rgba(34, 211, 238, 0.2); }
.sk-bg-dot--7 { bottom: 15%; left: 50%; width: 4px; height: 4px; animation-delay: 2.5s; background: rgba(236, 72, 153, 0.2); }

/* Floating Shapes */
.sk-bg-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}
.sk-bg-shape--diamond {
    width: 32px; height: 32px;
    border: 2.5px solid rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.06);
    transform: rotate(45deg);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.08);
    animation: skShapeFloat 14s ease-in-out infinite;
}
.sk-bg-shape--diamond2 {
    width: 22px; height: 22px;
    border: 2.5px solid rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.05);
    transform: rotate(45deg);
    border-radius: 3px;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.06);
    animation: skShapeFloat2 12s ease-in-out infinite 3s;
}
.sk-bg-shape--cross {
    width: 24px; height: 24px;
    animation: skShapeFloat 11s ease-in-out infinite 1.5s;
    filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.1));
}
.sk-bg-shape--cross::before, .sk-bg-shape--cross::after {
    content: '';
    position: absolute;
    background: rgba(236, 72, 153, 0.25);
    border-radius: 2px;
}
.sk-bg-shape--cross::before { width: 100%; height: 3px; top: 50%; left: 0; transform: translateY(-50%); }
.sk-bg-shape--cross::after { width: 3px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.sk-bg-shape--ring {
    width: 48px; height: 48px;
    border: 2px solid rgba(34, 211, 238, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.06);
    animation: skShapeFloat2 16s ease-in-out infinite 4s;
}
.sk-bg-shape--s1 { top: 12%; left: 3%; }
.sk-bg-shape--s2 { top: 24%; right: 6%; }
.sk-bg-shape--s3 { bottom: 35%; left: 10%; }
.sk-bg-shape--s4 { bottom: 25%; right: 4%; }
.sk-bg-shape--s5 { top: 50%; left: 50%; margin: -24px 0 0 -24px; }
.sk-bg-shape--s6 { top: 6%; left: 35%; }
.sk-bg-shape--s7 { bottom: 12%; right: 18%; }
.sk-bg-shape--s8 { top: 32%; left: 55%; }

/* Extra shapes */
.sk-bg-shape--diamond3 {
    width: 18px; height: 18px;
    border: 2px solid rgba(236, 72, 153, 0.25);
    background: rgba(236, 72, 153, 0.05);
    transform: rotate(45deg);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.06);
    animation: skShapeFloat3 18s ease-in-out infinite 5s;
}
.sk-bg-shape--cross2 {
    width: 18px; height: 18px;
    animation: skShapeFloat3 13s ease-in-out infinite 2s;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.08));
}
.sk-bg-shape--cross2::before, .sk-bg-shape--cross2::after {
    content: '';
    position: absolute;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 1px;
}
.sk-bg-shape--cross2::before { width: 100%; height: 2.5px; top: 50%; left: 0; transform: translateY(-50%); }
.sk-bg-shape--cross2::after { width: 2.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.sk-bg-shape--ring2 {
    width: 36px; height: 36px;
    border: 2px solid rgba(168, 85, 247, 0.18);
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.04);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.05);
    animation: skShapeFloat 20s ease-in-out infinite 6s;
}

/* Traînées lumineuses */
.sk-bg-streak {
    position: absolute;
    height: 1px;
    border-radius: 50%;
    opacity: 0.15;
    animation: skStreak 8s ease-in-out infinite alternate;
}
.sk-bg-streak--1 { width: 200px; top: 30%; left: 5%; background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent); transform: rotate(-15deg); }
.sk-bg-streak--2 { width: 150px; top: 65%; right: 10%; background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.25), transparent); transform: rotate(10deg); animation-delay: -3s; }
.sk-bg-streak--3 { width: 120px; top: 15%; right: 25%; background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.2), transparent); transform: rotate(25deg); animation-delay: -5s; }

/* ── Animations ── */
@keyframes skAmbientDrift {
    0% { background-position: 0% 0%; }
    100% { background-position: 5% 3%; }
}
@keyframes skCloudDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -15px) scale(1.08); }
}
@keyframes skGlowPulse {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes skOrbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}
@keyframes skOrbitSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes skOrbitDot1 {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
    100% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.8); }
}
@keyframes skOrbitDot2 {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
    100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
}
@keyframes skOrbitDot3 {
    0% { opacity: 0.15; transform: translate(-50%, -50%) scale(0.7); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0.15; transform: translate(-50%, -50%) scale(0.7); }
}
@keyframes skBeamSweep {
    0% { transform: rotate(-6deg) translateX(-20%); opacity: 0; }
    30% { opacity: 0.6; }
    60% { opacity: 0.3; }
    100% { transform: rotate(-6deg) translateX(20%); opacity: 0; }
}
@keyframes skDotPulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.5); }
}
@keyframes skStreak {
    0% { opacity: 0; transform: translateX(-30px); }
    50% { opacity: 0.2; }
    100% { opacity: 0; transform: translateX(30px); }
}
@keyframes skShapeFloat {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-14px); }
}
@keyframes skShapeFloat2 {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-10px); }
}
@keyframes skShapeFloat3 {
    0%, 100% { transform: rotate(45deg) translateY(0) scale(1); opacity: 0.15; }
    50% { transform: rotate(45deg) translateY(-18px) scale(1.2); opacity: 0.3; }
}
@keyframes skSphereFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes skPlanetFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-18px) rotate(2deg); }
}
@keyframes skPlanetRingSpin {
    0% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(10deg) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(10deg) rotate(360deg); }
}
@keyframes skPlanetDotPulse {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.4); }
}
@keyframes skMistDrift {
    0% { transform: translateX(0); opacity: 0.3; }
    50% { opacity: 0.45; }
    100% { transform: translateX(30px); opacity: 0.2; }
}
@keyframes skBubbleIn {
    to { transform: translateY(0); }
}
@keyframes sk-hint-bounce {
    0%, 100% { transform: translateX(0); opacity: 0.85; }
    50% { transform: translateX(4px); opacity: 1; box-shadow: 0 0 24px rgba(124, 58, 237, 0.45); }
}

/* ══════════════════════════════════════════════════════════
   FLOATING STAT CARDS
   ══════════════════════════════════════════════════════════ */
/* ── Header block: titre centré + floating cards absolues de chaque côté ── */
.sk-header-block {
    position: relative;
    z-index: 2;
    margin-bottom: 1.25rem;
    padding: 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.sk-float {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sk-float--left  { top: 3.5rem; left: 0; transform: rotate(-3deg); }
.sk-float--right { top: 3.5rem; right: 0; transform: rotate(3deg); }

.sk-float-sphere {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 0 auto 2px;
    flex-shrink: 0;
}

.sk-float-sphere--purple {
    background: radial-gradient(circle at 35% 35%, #e0d6ff 0%, #a78bfa 40%, #7c3aed 80%, #4c1d95 100%);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.35), 0 0 60px rgba(124, 58, 237, 0.15),
                inset -8px -8px 20px rgba(0, 0, 0, 0.2), inset 5px 5px 10px rgba(255, 255, 255, 0.3);
    animation: skSphereFloat 6s ease-in-out infinite;
}

.sk-float-sphere--pink {
    width: 32px; height: 32px;
    background: radial-gradient(circle at 35% 35%, #fce7f3 0%, #f472b6 40%, #ec4899 80%, #be185d 100%);
    box-shadow: 0 0 25px rgba(244, 114, 182, 0.35), 0 0 50px rgba(236, 72, 153, 0.15),
                inset -6px -6px 15px rgba(0, 0, 0, 0.2), inset 4px 4px 8px rgba(255, 255, 255, 0.3);
    animation: skSphereFloat 7s ease-in-out infinite 1s;
}

.sk-float-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0,0,0,0.05);
    white-space: nowrap;
}

.sk-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: var(--sk-radius-sm);
    flex-shrink: 0;
    font-size: 0.9rem;
}
.sk-float-icon--orange { background: linear-gradient(135deg, #F97316, #FB923C); color: #fff; }
.sk-float-icon--purple { background: linear-gradient(135deg, #7C3AED, #A855F7); color: #fff; }

.sk-float-text { display: flex; flex-direction: column; line-height: 1.3; }
.sk-float-text strong { font-size: 0.92rem; font-weight: 700; color: var(--sk-gray-900); position: relative; display: inline-block; }
.sk-float--left .sk-float-text strong {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: skStatGlow 3s ease-in-out infinite alternate;
}
.sk-float--right .sk-float-text strong {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: skStatGlow 3s ease-in-out infinite alternate 0.5s;
}
.sk-float-text span { font-size: 0.72rem; color: var(--sk-gray-500); }

@keyframes skStatGlow {
    0% { opacity: 0.85; filter: brightness(1); }
    100% { opacity: 1; filter: brightness(1.2); }
}

/* ══════════════════════════════════════════════════════════
   HEADER (centré dans sk-header-block)
   ══════════════════════════════════════════════════════════ */
.sk-header {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 660px;
}

/* Super-label type "DÉVELOPPEZ VOS COMPÉTENCES" */
.sk-super-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sk-gray-500);
    margin-bottom: 0.75rem;
}
.sk-super-label::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A855F7, #EC4899);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
    animation: skDotPulse 2.5s ease-in-out infinite alternate;
    flex-shrink: 0;
}

.sk-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    position: relative;
}

.sk-title-gradient {
    background: linear-gradient(135deg, #A855F7 0%, #6366F1 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.sk-title-gradient::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), rgba(59, 130, 246, 0.4), transparent);
    border-radius: 2px;
}

.sk-subtitle {
    font-size: 1.1rem;
    color: #334155;
    font-weight: 400;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 540px;
}

/* ══════════════════════════════════════════════════════════
   AXIS FILTER TABS (Par catégories / Par niveau / Par type)
   ══════════════════════════════════════════════════════════ */
.sk-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: var(--sk-radius-full);
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Curseur d'axe avec halo lumineux */
.sk-axis-slider {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 33.33%;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.4) 0%, transparent 60%),
        linear-gradient(135deg, #2563eb 0%, #4f46e5 40%, #7c3aed 100%);
    border-radius: var(--sk-radius-full);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    transition: transform 0.5s cubic-bezier(0.33, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
    will-change: transform, width;
    animation: skAxisGlow 3s ease-in-out infinite;
}

@keyframes skAxisGlow {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 4px 28px rgba(37, 99, 235, 0.6), 0 0 40px rgba(79, 70, 229, 0.15); }
}

.sk-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: var(--sk-radius-full);
    border: none;
    background: transparent;
    color: var(--sk-gray-500);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s var(--sk-ease);
    font-family: inherit;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.sk-filter-btn:hover {
    color: var(--sk-gray-800);
}

.sk-filter-btn.is-active {
    color: #fff;
}

.sk-filter-btn i { font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════════
   BUBBLE PILLS CAROUSEL (sub-filter)
   ══════════════════════════════════════════════════════════ */
.sk-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.sk-carousel-viewport {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.sk-tous-pill {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.sk-tous-pill.is-hidden { display: none; }

.sk-carousel {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition: opacity 0.25s var(--sk-ease), transform 0.25s var(--sk-ease);
}
.sk-carousel.is-centered { justify-content: center; overflow-x: hidden; }
.sk-carousel::-webkit-scrollbar { display: none; }

.sk-carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--sk-gray-200);
    background: var(--sk-white);
    color: var(--sk-gray-500);
    cursor: pointer;
    transition: all 0.3s var(--sk-ease);
    flex-shrink: 0;
    font-size: 0.95rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sk-carousel-arrow:hover {
    border-color: var(--sk-blue-electric);
    color: var(--sk-blue-electric);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.15);
}

/* Pills */
.sk-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--sk-radius-full);
    border: 1.5px solid var(--sk-gray-200);
    background: var(--sk-white);
    color: var(--sk-gray-600);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--sk-ease);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    scroll-snap-align: start;
    opacity: 1;
    transform: translateY(8px);
    animation: skBubbleIn 0.3s var(--sk-ease) forwards;
    animation-delay: var(--bubble-delay, 0ms);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sk-pill:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.18);
    transform: translateY(-3px) scale(1.03);
}
.sk-pill.is-active {
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
    color: #fff;
    border-color: transparent;
    opacity: 1;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    animation: skPillBreathe 3s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
.sk-pill.is-active i { color: #fff; }
.sk-pill.is-active .sk-pill-count { background: rgba(255, 255, 255, 0.2); color: #fff; }

@keyframes skPillBreathe {
    0%, 100% { transform: scale(1.04); box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3); }
    50% { transform: scale(1.06); box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45); }
}
.sk-pill i { font-size: 1.05rem; }
.sk-pill-label { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.sk-pill-count {
    font-size: 0.73rem;
    font-weight: 600;
    background: var(--sk-gray-100);
    color: var(--sk-gray-500);
    padding: 1px 7px;
    border-radius: 20px;
    line-height: 1.4;
    transition: all 0.3s var(--sk-ease);
}

/* ══════════════════════════════════════════════════════════
   CONTEXT LABEL
   ══════════════════════════════════════════════════════════ */
.sk-context {
    text-align: center;
    font-size: 0.82rem;
    color: var(--sk-gray-400);
    margin: -0.5rem 0 1rem;
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   RAIL ZONE (horizontal scroll)
   ══════════════════════════════════════════════════════════ */
.sk-rail-zone {
    position: relative;
    margin-bottom: 1.75rem;
}

.sk-rail-progress {
    height: 2px;
    background: var(--sk-gray-100);
    border-radius: 1px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.sk-rail-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #4f46e5, #7c3aed);
    border-radius: 1px;
    transition: width 0.35s var(--sk-ease);
    position: relative;
    overflow: hidden;
}
.sk-rail-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: skProgressShimmer 2.5s ease-in-out infinite;
}
@keyframes skProgressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.sk-rail-wrapper { position: relative; }

/* Rail navigation arrows – matches maquette side-arrow style */
.sk-rail-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--sk-gray-200);
    background: var(--sk-white);
    color: var(--sk-gray-600);
    cursor: pointer;
    transition: all 0.3s var(--sk-ease);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    opacity: 0;
    font-size: 1.1rem;
}
.sk-rail-wrapper:hover .sk-rail-arrow { opacity: 1; }
.sk-rail-arrow:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    box-shadow: 0 6px 28px rgba(79, 70, 229, 0.25);
    transform: translateY(-50%) scale(1.08);
}
.sk-rail-arrow:active {
    transform: translateY(-50%) scale(0.93);
}
.sk-rail-arrow--left  { left: -22px; }
.sk-rail-arrow--right { right: -22px; }

.sk-rail-arrow--hint {
    opacity: 1 !important;
    border-color: rgba(124, 58, 237, 0.5);
    color: #7c3aed;
    animation: sk-hint-bounce 1.2s ease-in-out 3;
}

/* ══════════════════════════════════════════════════════════
   COURSE CARDS RAIL
   ══════════════════════════════════════════════════════════ */
.sk-courses {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 6px 4px 16px;
    align-items: stretch;
}
.sk-courses::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════════════════════════
   CARD DESIGN — PREMIUM (Dark & Light variants)
   ══════════════════════════════════════════════════════════ */
.sk-course-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    flex: 0 0 270px;
    min-width: 270px;
    transition: transform 0.35s var(--sk-ease), box-shadow 0.35s var(--sk-ease);
    cursor: pointer;
    animation: skCardEnter 0.4s var(--sk-ease) both;
}

@keyframes skCardEnter {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.sk-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.sk-course-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s var(--sk-ease);
    pointer-events: none;
}
.sk-course-card.dark-theme::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(99, 102, 241, 0.1));
}
.sk-course-card.light-theme::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.1));
}
.sk-course-card:hover::before {
    opacity: 1;
}

/* ── Dark theme (1st card – deep purple/dark) ── */
.sk-course-card.dark-theme {
    background: linear-gradient(175deg, #1a0035 0%, #2d1b69 50%, #160a30 100%);
    box-shadow: 0 8px 32px rgba(76, 29, 149, 0.35);
    border: 1px solid rgba(168, 85, 247, 0.15);
}
.sk-course-card.dark-theme .card-cat { color: #A78BFA; }
.sk-course-card.dark-theme .card-title { color: #FFFFFF; }
.sk-course-card.dark-theme .card-meta { color: rgba(255,255,255,0.65); border-top-color: rgba(255,255,255,0.1); }
.sk-course-card.dark-theme .card-meta i { color: rgba(255,255,255,0.5); }
.sk-course-card.dark-theme .meta-rating { color: #FCD34D; }
.sk-course-card.dark-theme .meta-rating i { color: #F59E0B; }
.sk-course-card.dark-theme .card-footer { border-top-color: rgba(255,255,255,0.1); }
.sk-course-card.dark-theme .author-name { color: rgba(255,255,255,0.9); }
.sk-course-card.dark-theme .author-name strong { color: #fff; }
.sk-course-card.dark-theme .author-role { color: rgba(255,255,255,0.5); }
.sk-course-card.dark-theme .card-cta-btn {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}
.sk-course-card.dark-theme .card-cta-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* ── Light theme (2nd, 3rd, 4th cards – white / very light) ── */
.sk-course-card.light-theme {
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
}
.sk-course-card.light-theme:hover {
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.02);
}
.sk-course-card.light-theme .card-cat { color: var(--sk-blue-electric); }
.sk-course-card.light-theme .card-title { color: var(--sk-gray-900); }
.sk-course-card.light-theme .card-meta { color: var(--sk-gray-500); border-top-color: var(--sk-gray-100); }
.sk-course-card.light-theme .card-meta i { color: var(--sk-gray-400); }
.sk-course-card.light-theme .meta-rating { color: var(--sk-gray-800); font-weight: 600; }
.sk-course-card.light-theme .meta-rating i { color: #F59E0B; }
.sk-course-card.light-theme .card-footer { border-top-color: var(--sk-gray-100); }
.sk-course-card.light-theme .author-name { color: var(--sk-gray-700); }
.sk-course-card.light-theme .author-name strong { color: var(--sk-gray-900); }
.sk-course-card.light-theme .author-role { color: var(--sk-gray-400); }
.sk-course-card.light-theme .card-cta-btn {
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
    border-color: transparent;
    color: #fff;
}
.sk-course-card.light-theme .card-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* ── Cloud overlay – alternating cards ── */
.sk-course-card.has-cloud-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(ellipse 140% 60% at 20% 80%, rgba(59,130,246,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 120% 50% at 80% 70%, rgba(99,102,241,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 100% 40% at 50% 90%, rgba(147,197,253,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 80% 30% at 10% 40%, rgba(191,219,254,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 90% 35% at 70% 20%, rgba(147,197,253,0.07) 0%, transparent 55%);
}

/* ── Card Image Wrap ── */
.card-image-wrap {
    position: relative;
    height: 130px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--sk-ease);
}

.sk-course-card:hover .card-image-wrap img {
    transform: scale(1.08);
}

/* Subtle shine sweep on card image on hover */
.card-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 45%, transparent 60%);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--sk-ease);
}
.sk-course-card:hover .card-image-wrap::before {
    opacity: 1;
}

.card-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.15));
    pointer-events: none;
}

/* ── Card Badge (top left) ── */
/* ── Card link overlay (makes whole card clickable) ── */
.card-link-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 20px;
}

/* ── Price pill – top right of image ── */
.card-price {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: var(--sk-radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 4;
    white-space: nowrap;
    transition: transform 0.25s var(--sk-ease);
}
.sk-course-card:hover .card-price { transform: scale(1.05); }

.card-price--free {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.35);
}
.card-price--paid {
    background: rgba(15, 15, 15, 0.72);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.card-price--sale {
    background: rgba(239, 68, 68, 0.88);
    color: #fff;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.35);
}
.card-price-original {
    text-decoration: line-through;
    opacity: 0.65;
    font-weight: 500;
    font-size: 0.66rem;
}

/* ── Float icon (bottom-right of image) ── */
.card-float-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1rem;
    z-index: 3;
    transition: transform 0.3s var(--sk-ease);
}
.sk-course-card:hover .card-float-icon { transform: scale(1.1) rotate(5deg); }

/* ── Card Content ── */
.card-content {
    padding: 14px 16px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-title a {
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 2;
}
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Card Meta (rating / students / duration / certifiant) ── */
.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 0.72rem;
    padding-top: 6px;
    border-top: 1px solid;
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.card-meta i { font-size: 0.78rem; }

.meta-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
}

.meta-certifiant {
    color: var(--sk-blue-electric);
    font-weight: 600;
}
.sk-course-card.dark-theme .meta-certifiant {
    color: #60A5FA;
}

/* ── Card Footer (author + CTA) ── */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 16px 12px;
    border-top: 1px solid;
    margin-top: auto;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.card-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.author-name {
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.author-name strong { font-weight: 700; }

.author-role {
    font-size: 0.62rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.75;
}

/* ── Card CTA Button (arrow circle) ── */
.card-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.35s var(--sk-ease);
    flex-shrink: 0;
    position: relative;
}
.sk-course-card:hover .card-cta-btn {
    transform: scale(1.15);
}

.card-cta-btn i {
    position: relative;
    z-index: 1;
}

/* Light theme CTA pulse */
.sk-course-card.light-theme .card-cta-btn {
    animation: cardCtaPulse 3s ease-in-out infinite;
}
.sk-course-card.light-theme:hover .card-cta-btn {
    animation-play-state: paused;
}

@keyframes cardCtaPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5), 0 0 0 4px rgba(59, 130, 246, 0.1); }
}

/* ── Empty State ── */
.sk-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--sk-gray-400);
    font-size: 0.95rem;
}

/* ── Loading State ── */
.sk-courses.is-loading { opacity: 0.5; pointer-events: none; }

/* ══════════════════════════════════════════════════════════
   FEATURES BAR (bottom 3 cards – KPI style)
   ══════════════════════════════════════════════════════════ */
.sk-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
}

.sk-feature {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.75rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.03),
        0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: skFeatBreathe 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
.sk-feature:nth-child(2) { animation-delay: 0.5s; }
.sk-feature:nth-child(3) { animation-delay: 1s; }

@keyframes skFeatBreathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.01); }
}

.sk-feature:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 60px color-mix(in srgb, var(--feat-color) 12%, transparent);
    animation-play-state: paused;
}

.sk-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--feat-color);
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--feat-color) 30%, transparent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sk-feature:hover .sk-feature-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--feat-color) 45%, transparent);
}

.sk-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sk-feature-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.sk-feature-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    color: var(--sk-gray-500);
    line-height: 1.35;
    margin: 0;
    font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .sk-features { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .sk-header-block { padding: 1rem 0; }
    .sk-float--left, .sk-float--right { display: none; }
    .sk-rail-arrow { display: none !important; }
}

@media (max-width: 768px) {
    .sk-section { padding: 2rem 0 1.5rem; }
    .sk-title { font-size: 1.7rem; }
    .sk-subtitle { font-size: 1rem; }
    .sk-subtitle br { display: none; }
    .sk-planet { display: none; }

    .sk-filters {
        gap: 4px;
        padding: 4px;
    }
    .sk-filter-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
    .sk-axis-slider {
        top: 4px;
        bottom: 4px;
    }

    .sk-course-card { flex: 0 0 220px; min-width: 220px; }
    .card-image-wrap { height: 130px; }

    .sk-features { grid-template-columns: 1fr; gap: 10px; }
    .sk-rail-progress { display: none; }
}

@media (max-width: 480px) {
    .sk-course-card { flex: 0 0 200px; min-width: 200px; }
    .sk-filter-btn { font-size: 0.8rem; padding: 8px 12px; }
    .sk-axis-slider { display: none; }
    .sk-filter-btn.is-active { background: linear-gradient(135deg, #2563eb 0%, #4f46e5 40%, #7c3aed 100%); color: #fff; }
    .sk-pill { padding: 7px 11px; font-size: 0.8rem; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    .sk-axis-slider { transition: none !important; }
    .sk-carousel { scroll-behavior: auto; }
    .sk-pill { animation: none; opacity: 1; transform: none; }
    .sk-course-card:hover { transform: none; }
    .sk-course-card:hover .card-image-wrap img { transform: none; }
    .sk-feature:hover { transform: none; }
    .sk-feature:hover .sk-feature-icon { transform: none; }
    .sk-cloud, .sk-bg-orb, .sk-bg-dot, .sk-bg-streak,
    .sk-header-glow, .sk-float-sphere,
    .sk-bg-shape, .sk-feature-icon,
    .sk-light-beam,
    .sk-bg-orbit,
    .sk-planet,
    .sk-planet-ring,
    .sk-planet-ring-dot,
    .sk-mist,
    .card-cta-btn,
    .sk-section::before,
    .sk-axis-slider,
    .sk-pill.is-active,
    .sk-feature,
    .sk-float--left .sk-float-text strong,
    .sk-float--right .sk-float-text strong,
    .sk-rail-progress-bar::after { animation: none !important; }
    .sk-pill.is-active { transform: scale(1.04) !important; }
    .sk-bg-orbit--1::after,
    .sk-bg-orbit--2::after,
    .sk-bg-orbit--3::after { animation: none !important; }
    .sk-bg-shape { opacity: 0.25; }
    .sk-course-card.light-theme .card-cta-btn { animation: none !important; }
    .card-cta-btn { transform: none !important; }
    .sk-course-card { animation: none !important; }
    .sk-course-card::before { display: none; }
    .card-image-wrap::before { display: none; }
}
