﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');

/* ==========================================================================
   RIMA ACADEMY 2026 - HOME MODERN CSS
   ========================================================================== */

/* Utility */
.rhm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.rhm-h2 {
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--rima-text);
    line-height: 1.2;
    margin-bottom: var(--rima-space-sm);
    letter-spacing: -0.03em;
}
.rhm-p {
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--rima-text-muted);
}
.rhm-cyan {
    color: var(--rima-primary);
}

/* =========================================
   1. HERO SECTION (Luminous White Luxury Mode + 3D orbital)
   ========================================= */
/* Universal Pure Base Overrides (Theme Adaptive) */
body.home,
body.has-white-header,
#rima-home-wrapper,
.eltdf-wrapper,
.eltdf-wrapper-inner,
.eltdf-content {
    background: var(--rt-bg-page, #ffffff) !important;
    background-color: var(--rt-bg-page, #ffffff) !important;
}

.rhm-hero,
.rhm-hero.rhm-hero-white {
    position: relative;
    min-height: 94vh;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    background: var(--rt-bg-page, #ffffff) !important;
    background-color: var(--rt-bg-page, #ffffff) !important;
    color: var(--rt-text-primary, #0f172a);
    padding: 100px 20px 60px !important;
    box-sizing: border-box !important;
}

/* Ambient Clean Background */
.rhm-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1 !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    background: var(--rt-bg-page, #ffffff) !important;
    background-color: var(--rt-bg-page, #ffffff) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.rhm-hero-light-mesh {
    position: absolute;
    inset: 0;
    background-color: var(--rt-bg-page, #F8F9FA);
    background-image: 
        radial-gradient(circle at 50% 35%, rgba(59, 130, 246, 0.05) 0%, transparent 65%),
        linear-gradient(to right, rgba(108, 117, 125, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(108, 117, 125, 0.07) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    pointer-events: none;
}
html[data-theme="dark"] .rhm-hero-light-mesh {
    background-color: #121416;
    background-image: 
        radial-gradient(circle at 50% 35%, rgba(59, 130, 246, 0.08) 0%, transparent 65%),
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
.rhm-hero-particles {
    display: none !important;
}

/* Hero Container & Centered Layered Content */
.rhm-hero-container {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    pointer-events: none !important;
}

.rhm-hero-container a,
.rhm-hero-container button,
.rhm-hero-container input,
.rhm-hero-container select,
.rhm-hero-badge,
.rhm-hero-actions,
.rhm-hero-actions *,
.rhm-hero-search,
.rhm-hero-search *,
.rhm-orbital-language-bar,
.rhm-gl-chip {
    pointer-events: auto !important;
}
.rhm-hero-center-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 880px !important;
    position: relative !important;
    z-index: 11 !important;
    pointer-events: auto !important;
}

/* Accredited Campus Badge (White Glass Card - Centered) */
.rhm-hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 22px;
    border-radius: 999px;
    margin: 0 auto 24px auto !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    text-align: center !important;
}
.rhm-hero-badge:hover {
    border-color: #3B82F6 !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.12);
}
.rhm-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3B82F6 !important;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}
.rhm-badge-text {
    color: #0F172A !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Inter', -apple-system, sans-serif;
}
html[data-theme="dark"] .rhm-hero-badge {
    background: rgba(19, 27, 46, 0.85) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}
html[data-theme="dark"] .rhm-hero-badge .rhm-badge-dot {
    background: #60A5FA !important;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.6) !important;
}
html[data-theme="dark"] .rhm-hero-badge .rhm-badge-text {
    color: #F8FAFC !important;
}

/* HERO HEADLINE - HIGH CONTRAST TYPOGRAPHY (NO WHITE BLUR SHADOWS) */
.rhm-hero-title {
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 auto 20px auto !important;
    letter-spacing: -0.025em !important;
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(2.4rem, 4.8vw, 4.2rem) !important;
    color: #0F172A !important;
    text-shadow: none !important;
    user-select: none;
    -webkit-user-select: none;
}

.rhm-hero-title span {
    color: inherit !important;
    text-shadow: inherit !important;
}

html:not([data-theme="dark"]) .rhm-hero-title,
html:not([data-theme="dark"]) .rhm-hero-title span,
html[data-theme="light"] .rhm-hero-title,
html[data-theme="light"] .rhm-hero-title span {
    color: #0F172A !important;
    text-shadow: none !important;
}

html[data-theme="dark"] .rhm-hero-title,
html[data-theme="dark"] .rhm-hero-title span {
    color: #FFFFFF !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
}

/* SUBTITLE - CRISP CONTRAST (TRANSPARENT BACKGROUND, NO WHITE BOX) */
.rhm-hero-p {
    max-width: 680px !important;
    width: 100% !important;
    margin: 0 auto 34px auto !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(1.05rem, 1.35vw, 1.2rem) !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    color: #334155 !important;
    text-shadow: none !important;
    text-align: center !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    user-select: none;
    -webkit-user-select: none;
}

html:not([data-theme="dark"]) .rhm-hero-p,
html[data-theme="light"] .rhm-hero-p {
    color: #334155 !important;
    text-shadow: none !important;
    background: transparent !important;
}

html[data-theme="dark"] .rhm-hero-p {
    color: #F1F5F9 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
    background: transparent !important;
}

/* CALL TO ACTION BUTTONS - ACCENT (#3B82F6) & SECONDARY GRAY (#E9ECEF) */
.rhm-hero-actions {
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin: 0 auto 34px auto !important;
    width: 100% !important;
    text-align: center !important;
}
.rhm-hero-actions .rima-btn-primary {
    background: var(--rt-accent, #3B82F6) !important;
    background-image: none !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    padding: 15px 36px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    color: #ffffff !important;
    border: 1px solid var(--rt-accent, #3B82F6) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.rhm-hero-actions .rima-btn-primary:hover {
    transform: translateY(-2px) !important;
    background: var(--rt-accent-hover, #2563EB) !important;
    box-shadow: 0 10px 28px rgba(59, 130, 246, 0.45) !important;
    color: #ffffff !important;
}
.rhm-hero-actions .rima-btn-secondary {
    background: var(--rt-btn-secondary-bg, #E9ECEF) !important;
    border: 1px solid var(--rt-btn-secondary-border, #CED4DA) !important;
    color: var(--rt-btn-secondary-text, #212529) !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    padding: 15px 34px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.rhm-hero-actions .rima-btn-secondary:hover {
    background: #DEE2E6 !important;
    border-color: #ADB5BD !important;
    color: #212529 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(33, 37, 41, 0.08) !important;
}

/* Hero Action Buttons in Dark Mode */
html[data-theme="dark"] .rhm-hero-actions .rima-btn-primary {
    background: var(--rt-accent, #3B82F6) !important;
    color: #FFFFFF !important;
}
html[data-theme="dark"] .rhm-hero-actions .rima-btn-secondary {
    background: #212529 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #FFFFFF !important;
}
html[data-theme="dark"] .rhm-hero-actions .rima-btn-secondary:hover {
    background: #2D3238 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
}


/* ==========================================================================
   INTERACTIVE CONNECTED LANGUAGES RIBBON (Master English, Romanian, Japanese)
   ========================================================================== */
.rhm-orbital-language-bar {
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    width: 100% !important;
    margin: 16px auto 0 auto !important;
    text-align: center !important;
}
.rhm-gl-title {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    font-family: 'Outfit', -apple-system, sans-serif !important;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #334155 !important;
    text-transform: uppercase;
    text-shadow: none !important;
    margin: 0 auto !important;
    text-align: center !important;
}
html:not([data-theme="dark"]) .rhm-gl-title,
html[data-theme="light"] .rhm-gl-title {
    color: #334155 !important;
    text-shadow: none !important;
}
html[data-theme="dark"] .rhm-gl-title {
    color: #E2E8F0 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95) !important;
}
.rhm-gl-icon {
    font-size: 1.15rem;
    animation: rhmRotateorbital 12s linear infinite;
}
@keyframes rhmRotateorbital {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.rhm-gl-chips {
    position: relative !important;
    z-index: 51 !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px;
    width: 100% !important;
    margin: 0 auto !important;
}
.rhm-gl-chip {
    position: relative !important;
    z-index: 52 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(0, 210, 255, 0.2);
    user-select: none;
    -webkit-user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--rt-chip-bg, rgba(255, 255, 255, 0.98)) !important;
    border: 1.5px solid var(--rt-chip-border, rgba(226, 232, 240, 0.95)) !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    color: var(--rt-chip-text, #0f172a) !important;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.rhm-gl-chip:hover {
    background: #ffffff !important;
    border-color: #71717A !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
}
.rhm-gl-chip.active {
    background: #ffffff !important;
    border-color: #0F172A !important;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.2), 0 10px 28px rgba(15, 23, 42, 0.12) !important;
    transform: translateY(-2px);
}
html[data-theme="dark"] .rhm-gl-chip {
    background: rgba(19, 27, 46, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}
html[data-theme="dark"] .rhm-gl-chip:hover {
    background: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}
html[data-theme="dark"] .rhm-gl-chip.active {
    background: #1E293B !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), 0 10px 28px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-2px);
}
.rhm-gl-chip-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.rhm-gl-flag {
    font-size: 1.6rem;
    line-height: 1;
}
.rhm-gl-name {
    font-family: 'Outfit', -apple-system, sans-serif !important;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--rt-chip-text, #0f172a);
    letter-spacing: -0.01em;
}
html[data-theme="dark"] .rhm-gl-name {
    color: #FFFFFF !important;
}
.rhm-gl-chip.active .rhm-gl-name {
    color: #0F172A !important;
}
html[data-theme="dark"] .rhm-gl-chip.active .rhm-gl-name {
    color: #FFFFFF !important;
}
.rhm-gl-count {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--rt-chip-count-text, #64748b) !important;
    letter-spacing: 0.03em;
    background: var(--rt-chip-count-bg, rgba(15, 23, 42, 0.06)) !important;
    padding: 2px 8px;
    border-radius: 999px;
    margin-top: 2px;
}
.rhm-gl-chip:hover .rhm-gl-count,
.rhm-gl-chip.active .rhm-gl-count {
    color: #0F172A !important;
    background: rgba(15, 23, 42, 0.1) !important;
}
html[data-theme="dark"] .rhm-gl-chip:hover .rhm-gl-count,
html[data-theme="dark"] .rhm-gl-chip.active .rhm-gl-count {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   3D orbital AT THE TOP OF THE HERO / SLIDER (OUTSIDE AND ABOVE TEXTS)
   ========================================================================== */
.rhm-hero-orbital-stage {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 440px !important;
    height: 380px !important;
    margin: 0 auto 20px auto !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.rhm-hero-orbital-stage .rhm-orbital-wrapper,
.rhm-orbital-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 380px !important;
    height: 380px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    opacity: 1 !important;
    filter: drop-shadow(0 20px 50px rgba(15, 23, 42, 0.22)) drop-shadow(0 4px 16px rgba(14, 165, 233, 0.2)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.rhm-orbital-wrapper:active {
    cursor: grabbing;
}
#rhm-orbital-viz {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
}
#rhm-orbital-viz canvas {
    pointer-events: auto !important;
    background: transparent !important;
    cursor: grab;
    touch-action: pan-y;
    display: block !important;
    margin: 0 auto !important;
}
#rhm-orbital-viz canvas:active {
    cursor: grabbing;
}

@media (max-width: 1024px) {
    .rhm-hero,
    .rhm-hero.rhm-hero-white {
        padding: 85px 20px 60px !important;
        min-height: auto !important;
    }
    .rhm-hero-orbital-stage {
        max-width: 360px !important;
        height: 330px !important;
        margin: 0 auto 16px auto !important;
    }
    .rhm-hero-orbital-stage .rhm-orbital-wrapper,
    .rhm-orbital-wrapper {
        width: 320px !important;
        height: 320px !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .rhm-orbital-language-bar {
        margin-top: 18px !important;
        margin-bottom: 22px !important;
    }
}

@media (max-width: 768px) {
    .rhm-hero,
    .rhm-hero.rhm-hero-white {
        padding: 75px 16px 50px !important;
    }
    .rhm-hero-orbital-stage {
        max-width: 290px !important;
        height: 275px !important;
        margin: 0 auto 14px auto !important;
    }
    .rhm-hero-orbital-stage .rhm-orbital-wrapper,
    .rhm-orbital-wrapper {
        width: 270px !important;
        height: 270px !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        opacity: 1 !important;
    }
    /* Mobile Hero Typography Calibration */
    .rhm-hero-title {
        margin: 0 auto 12px auto !important;
    }
    .rhm-title-lead {
        font-size: clamp(1.9rem, 7.5vw, 2.5rem) !important;
        margin-bottom: 2px !important;
    }
    #rhm-typed-text {
        font-size: clamp(2.2rem, 8.5vw, 3rem) !important;
    }
    .rhm-cursor {
        font-size: clamp(2.2rem, 8.5vw, 3rem) !important;
    }
    .rhm-hero-p {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
        margin: 0 auto 18px auto !important;
        padding: 0 8px !important;
        max-width: 94% !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    .rhm-hero-actions {
        gap: 12px !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .rhm-hero-actions .rima-btn-primary,
    .rhm-hero-actions .rima-btn-secondary {
        padding: 13px 24px !important;
        font-size: 0.96rem !important;
        width: 100% !important;
        max-width: 270px !important;
    }
    .rhm-orbital-language-bar {
        margin-top: 14px !important;
        margin-bottom: 25px !important;
        align-items: center !important;
        width: 100% !important;
    }
    .rhm-gl-title {
        font-size: 0.74rem !important;
        letter-spacing: 0.08em !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .rhm-gl-chips {
        gap: 8px !important;
        justify-content: center !important;
    }
    .rhm-gl-chip {
        padding: 9px 16px !important;
        gap: 8px !important;
    }
    .rhm-gl-flag {
        font-size: 1.35rem !important;
    }
    .rhm-gl-name {
        font-size: 0.88rem !important;
    }
    .rhm-gl-count {
        font-size: 0.68rem !important;
    }
}

@media (max-width: 480px) {
    .rhm-hero-orbital-stage {
        max-width: 250px !important;
        height: 240px !important;
        margin: 0 auto 12px auto !important;
    }
    .rhm-hero-orbital-stage .rhm-orbital-wrapper,
    .rhm-orbital-wrapper {
        width: 240px !important;
        height: 240px !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin: 0 auto !important;
        opacity: 1 !important;
    }
    .rhm-gl-chip {
        padding: 8px 13px !important;
        min-height: 40px !important;
    }
    .rhm-hero-actions .rima-btn-primary,
    .rhm-hero-actions .rima-btn-secondary {
        min-height: 46px !important;
    }
}

.rhm-scroll-indicator {
    display: none;
}

/* =========================================
/* =========================================
   1.5 TRUSTED BY / PARTNERS (Clean Light in Default, High-Contrast in Dark)
   ========================================= */
.rhm-trusted-by {
    padding: 44px 0;
    background: var(--rt-bg-page, #F8F9FA) !important;
    border-top: 1px solid var(--rt-border, #E9ECEF) !important;
    border-bottom: 1px solid var(--rt-border, #E9ECEF) !important;
    text-align: center;
}
.rhm-trusted-by p {
    font-size: 0.82rem;
    color: var(--rt-text-secondary, #6C757D) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
}
.rhm-trusted-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}
.rhm-trusted-logos span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rt-text-secondary, #6C757D) !important;
    opacity: 0.75;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.rhm-trusted-logos span:hover {
    color: var(--rt-accent, #3B82F6) !important;
    opacity: 1;
}
html[data-theme="dark"] .rhm-trusted-by {
    background: #121416 !important;
    border-top: 1px solid #212529 !important;
    border-bottom: 1px solid #212529 !important;
}
html[data-theme="dark"] .rhm-trusted-by p {
    color: #9CA3AF !important;
}
html[data-theme="dark"] .rhm-trusted-logos span {
    color: #E5E7EB !important;
}

/* =========================================
   2. COURSE CATALOG - MODERN MINIMALIST LIGHT CANVAS & 3D CARDS
   ========================================= */
.rhm-courses {
    position: relative !important;
    padding: 110px 0 130px !important;
    background: var(--rt-bg-surface, #FFFFFF) !important;
    background-image: none !important;
    overflow: hidden !important;
    color: var(--rt-text-primary, #212529) !important;
}
.rhm-courses-ambient-glow {
    display: none !important;
}
.rhm-glow-orb {
    display: none !important;
}
.rhm-courses-grid-mesh {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(108, 117, 125, 0.12) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    opacity: 0.5;
    pointer-events: none;
}

/* Catalog Section Header */
.rhm-courses .rhm-section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 840px;
    margin: 0 auto 65px;
    padding: 0 20px;
}
.rhm-catalog-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    padding: 7px 20px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--rt-text-secondary, #6C757D) !important;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(33, 37, 41, 0.04) !important;
}
.rhm-catalog-badge .rhm-pulse-dot {
    background: var(--rt-accent, #3B82F6) !important;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4) !important;
}
.rhm-courses .rhm-h2 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(2.4rem, 4.2vw, 3.6rem) !important;
    font-weight: 800 !important;
    color: var(--rt-text-primary, #212529) !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.02em !important;
    text-shadow: none !important;
}
.rhm-courses .rhm-h2 .rhm-gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--rt-accent, #3B82F6) !important;
    color: var(--rt-accent, #3B82F6) !important;
}
.rhm-courses .rhm-p {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: clamp(1.05rem, 1.35vw, 1.2rem) !important;
    line-height: 1.65 !important;
    color: var(--rt-text-secondary, #6C757D) !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    text-shadow: none !important;
}

/* Dark Mode Overrides for Courses Section */
html[data-theme="dark"] .rhm-courses {
    background: #080d1a !important;
    color: #ffffff !important;
}
html[data-theme="dark"] .rhm-courses-ambient-glow {
    display: block !important;
}
html[data-theme="dark"] .rhm-glow-orb {
    display: block !important;
}
html[data-theme="dark"] .rhm-catalog-badge {
    background: rgba(15, 23, 42, 0.85) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: #E5E7EB !important;
}
html[data-theme="dark"] .rhm-courses .rhm-h2 {
    color: #ffffff !important;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8) !important;
}
html[data-theme="dark"] .rhm-courses .rhm-h2 .rhm-gradient-text {
    color: #60A5FA !important;
    -webkit-text-fill-color: #60A5FA !important;
}
html[data-theme="dark"] .rhm-courses .rhm-p {
    color: #94a3b8 !important;
}

/* 3D Cards Grid */
.rhm-flip-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}
.rhm-flip-container {
    perspective: 1600px;
    position: relative;
    z-index: 1;
    height: 640px !important;
    width: 100%;
    border-radius: 12px !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.rhm-flip-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -4px rgba(33, 37, 41, 0.12) !important;
}
.rhm-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}
.rhm-flip-container.is-flipped { z-index: 5; }
.rhm-flip-container.is-flipped .rhm-flip-inner {
    transform: rotateY(180deg);
}
.rhm-flip-front, .rhm-flip-back {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px -2px rgba(33, 37, 41, 0.06), 0 1px 3px rgba(33, 37, 41, 0.04);
    overflow: hidden;
    border: 1px solid var(--rt-card-border, #E9ECEF);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* FRONT OF CARD (Clean Modern Minimalist with natural photo & readable typography) */
.rhm-flip-front {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    filter: none !important;
    border-color: var(--rt-card-border, #E9ECEF) !important;
    transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.rhm-flip-container:hover .rhm-flip-front {
    border-color: var(--rt-border-strong, #CED4DA) !important;
    box-shadow: 0 16px 36px -4px rgba(33, 37, 41, 0.12) !important;
}
.rhm-flip-container.is-flipped .rhm-flip-front { pointer-events: none; }
.rhm-flip-front-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(33, 37, 41, 0.94) 0%, rgba(33, 37, 41, 0.55) 45%, rgba(33, 37, 41, 0.08) 100%) !important;
    z-index: 1;
}

/* Modern Minimalist Floating Badges */
.rhm-stamp {
    position: absolute;
    top: 22px; right: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    color: var(--rt-text-primary, #212529) !important;
    box-shadow: 0 4px 14px rgba(33, 37, 41, 0.08) !important;
    transition: all 0.3s ease;
}
.rhm-stamp-gold {
    border-color: rgba(245, 158, 11, 0.4) !important;
}
.rhm-stamp-cyan {
    border-color: rgba(59, 130, 246, 0.4) !important;
}
.rhm-stamp-ruby {
    border-color: rgba(244, 63, 94, 0.4) !important;
}
.rhm-pulse-dot.gold { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.rhm-pulse-dot.cyan { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.rhm-pulse-dot.ruby { background: #f43f5e; box-shadow: 0 0 8px #f43f5e; }

/* Front Content Area */
.rhm-flip-front-content {
    position: relative;
    z-index: 2;
    padding: 34px 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rhm-flip-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.rhm-tag-pill {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    color: var(--rt-text-primary, #212529) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}
.rhm-flip-front-content h3 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(2.2rem, 2.7vw, 2.8rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6) !important;
}
.rhm-front-card-desc {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.94rem !important;
    color: #E5E7EB !important;
    line-height: 1.5 !important;
    margin: 4px 0 16px 0 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5) !important;
}
.rhm-flip-open {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #FFFFFF !important;
    color: var(--rt-text-primary, #212529) !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.rhm-flip-open:hover {
    background: var(--rt-accent, #3B82F6) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35) !important;
    border-color: var(--rt-accent, #3B82F6) !important;
}
.rhm-btn-arrow-circle {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--rt-bg-surface-alt, #E9ECEF);
    color: var(--rt-text-primary, #212529);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.rhm-flip-open:hover .rhm-btn-arrow-circle {
    background: #ffffff;
    color: var(--rt-accent, #3B82F6);
    transform: translateX(3px);
}

/* =========================================
   BACK OF CARD: MODERN MINIMALIST CONFIGURATOR (Light Default)
   ========================================= */
.rhm-flip-back {
    transform: rotateY(180deg);
    background: #FFFFFF !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    box-shadow: 0 16px 40px -4px rgba(33, 37, 41, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 22px 20px 20px !important;
    box-sizing: border-box !important;
    height: 100% !important;
    overflow: hidden !important; /* STRICT ZERO-SCROLL GUARANTEE */
    color: var(--rt-text-primary, #212529) !important;
}
.rhm-flip-container.is-flipped .rhm-flip-back {
    pointer-events: auto !important;
}

/* Card Glow Themes per Language (Subtle Light Border Accents) */
.rhm-apple-back[data-card-lang="ro"] {
    border-color: rgba(245, 158, 11, 0.3) !important;
}
.rhm-apple-back[data-card-lang="en"] {
    border-color: rgba(59, 130, 246, 0.3) !important;
}
.rhm-apple-back[data-card-lang="ja"] {
    border-color: rgba(244, 63, 94, 0.3) !important;
}

/* Header */
.rhm-apple-back-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rt-border, #E9ECEF) !important;
    flex-shrink: 0;
}
.rhm-apple-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rhm-apple-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.rhm-apple-flag img {
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.rhm-apple-title-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.rhm-apple-title-meta h4 {
    margin: 0 !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    display: block !important;
}
html[data-theme="dark"] .rhm-apple-title-meta h4 {
    color: #FFFFFF !important;
}
.rhm-apple-sub-badge {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #64748B !important;
    display: inline-block !important;
}
html[data-theme="dark"] .rhm-apple-sub-badge {
    color: #94A3B8 !important;
}
.rhm-flip-close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    background-color: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}
.rhm-flip-close:hover {
    background: #E2E8F0 !important;
    background-color: #E2E8F0 !important;
    color: #0F172A !important;
    border-color: #CBD5E1 !important;
    transform: rotate(90deg) scale(1.05) !important;
}
html[data-theme="dark"] .rhm-flip-close {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #CBD5E1 !important;
}

/* Segment 1: Level Tabs (A1-A2, B1-B2, C1-C2) */
.rhm-apple-seg-control {
    display: flex !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 3px !important;
    margin-bottom: 10px !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}
html[data-theme="dark"] .rhm-apple-seg-control {
    background: #0B0F19 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
button.rhm-apple-seg-btn,
.rhm-apple-seg-btn {
    flex: 1 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: #64748B !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 8px 8px !important;
    border-radius: 9px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    text-align: center !important;
    box-shadow: none !important;
}
button.rhm-apple-seg-btn:hover,
.rhm-apple-seg-btn:hover {
    color: #0F172A !important;
    background: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
}
button.rhm-apple-seg-btn.active,
.rhm-apple-seg-btn.active {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    background-color: #2563EB !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
}
html[data-theme="dark"] button.rhm-apple-seg-btn,
html[data-theme="dark"] .rhm-apple-seg-btn {
    color: #94A3B8 !important;
    background: transparent !important;
}
html[data-theme="dark"] button.rhm-apple-seg-btn:hover,
html[data-theme="dark"] .rhm-apple-seg-btn:hover {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
html[data-theme="dark"] button.rhm-apple-seg-btn.active,
html[data-theme="dark"] .rhm-apple-seg-btn.active {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

/* Segment 2: Format Selector Tabs (Individual / LMS / Corporate) */
.rhm-apple-fmt-control {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 3px !important;
    margin-bottom: 12px !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}
html[data-theme="dark"] .rhm-apple-fmt-control {
    background: #0B0F19 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
button.rhm-fmt-btn,
.rhm-fmt-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    padding: 8px 6px !important;
    color: #64748B !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}
button.rhm-fmt-btn:hover,
.rhm-fmt-btn:hover {
    color: #0F172A !important;
    background: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
}
button.rhm-fmt-btn.active,
.rhm-fmt-btn.active {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}
html[data-theme="dark"] button.rhm-fmt-btn,
html[data-theme="dark"] .rhm-fmt-btn {
    color: #94A3B8 !important;
    background: transparent !important;
}
html[data-theme="dark"] button.rhm-fmt-btn:hover,
html[data-theme="dark"] .rhm-fmt-btn:hover {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
html[data-theme="dark"] button.rhm-fmt-btn.active,
html[data-theme="dark"] .rhm-fmt-btn.active {
    background: #1E293B !important;
    background-color: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}
.rhm-fmt-icon {
    font-size: 0.85rem !important;
    transition: transform 0.2s ease;
}
.rhm-fmt-btn.active .rhm-fmt-icon {
    transform: scale(1.15);
}

/* Zero-Scroll Content Area with Smooth Scroll Fallback */
.rhm-apple-content-area {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    margin-bottom: 8px;
    padding-right: 2px;
}
.rhm-apple-lvl-panel {
    display: none;
    flex-direction: column;
    width: 100%;
    animation: rhmPanelFade 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.rhm-apple-lvl-panel.active {
    display: flex;
}
@keyframes rhmPanelFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.rhm-format-view {
    display: none;
    width: 100%;
    animation: rhmViewFade 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.rhm-format-view.active {
    display: block;
}
@keyframes rhmViewFade {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   PLAN SELECTION TABLES (1 Month, 3 Months, 6 Months)
   ========================================================================== */
.rhm-dur-cards-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: 100% !important;
}

/* Plan Card Base */
.rhm-dur-interactive-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 11px 14px !important;
    cursor: pointer !important;
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none !important;
    position: relative !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}
.rhm-dur-interactive-card:hover {
    background: #FFFFFF !important;
    border-color: #93C5FD !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08) !important;
}

/* Active / Selected Plan State */
.rhm-dur-interactive-card.active-selected {
    background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%) !important;
    border: 2px solid #2563EB !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.14) !important;
}
html[data-theme="dark"] .rhm-dur-interactive-card {
    background: #111827 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .rhm-dur-interactive-card:hover {
    border-color: #3B82F6 !important;
    background: #172033 !important;
}
html[data-theme="dark"] .rhm-dur-interactive-card.active-selected {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
    border: 2px solid #3B82F6 !important;
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.25) !important;
}

/* Custom Interactive Radio Indicator */
.rhm-dur-card-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.rhm-dur-radio-dot {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: 2px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.rhm-dur-interactive-card:hover .rhm-dur-radio-dot {
    border-color: #2563EB !important;
}
.rhm-dur-interactive-card.active-selected .rhm-dur-radio-dot {
    border-color: #2563EB !important;
    background: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}
.rhm-dur-interactive-card.active-selected .rhm-dur-radio-dot::after {
    content: '' !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
}
html[data-theme="dark"] .rhm-dur-radio-dot {
    background: #1F2937 !important;
    border-color: #4B5563 !important;
}
html[data-theme="dark"] .rhm-dur-interactive-card.active-selected .rhm-dur-radio-dot {
    background: #3B82F6 !important;
    border-color: #3B82F6 !important;
}

/* Title and Badges inside the Plan Card */
.rhm-dur-card-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 3px !important;
}
.rhm-dur-period {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.15 !important;
}
html[data-theme="dark"] .rhm-dur-period {
    color: #FFFFFF !important;
}

/* Plan Badges (Starter, Recommended, Certificate Included) */
.rhm-dur-chip {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: #F1F5F9 !important;
    color: #475569 !important;
    border: 1px solid #E2E8F0 !important;
}
.rhm-dur-chip.featured-chip {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
    color: #92400E !important;
    border: 1px solid #FCD34D !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15) !important;
}
.rhm-dur-chip.cert-chip {
    background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%) !important;
    color: #166534 !important;
    border: 1px solid #86EFAC !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15) !important;
}
html[data-theme="dark"] .rhm-dur-chip {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #CBD5E1 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
html[data-theme="dark"] .rhm-dur-chip.featured-chip {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #FCD34D !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}
html[data-theme="dark"] .rhm-dur-chip.cert-chip {
    background: rgba(22, 163, 74, 0.2) !important;
    color: #86EFAC !important;
    border-color: rgba(22, 163, 74, 0.4) !important;
}

/* Session breakdown description */
.rhm-dur-sessions {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.72rem !important;
    color: #64748B !important;
    line-height: 1.25 !important;
    display: block !important;
    font-weight: 500 !important;
}
html[data-theme="dark"] .rhm-dur-sessions {
    color: #94A3B8 !important;
}

/* Pricing Column */
.rhm-dur-card-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 1px !important;
}
.rhm-dur-old-price {
    font-size: 0.72rem !important;
    color: #94A3B8 !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
}
.rhm-dur-current-price {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 1.12rem !important;
    font-weight: 900 !important;
    color: #2563EB !important;
    letter-spacing: -0.01em !important;
}
.rhm-dur-current-price small {
    font-size: 0.7rem !important;
    color: #64748B !important;
    font-weight: 600 !important;
}
html[data-theme="dark"] .rhm-dur-current-price {
    color: #38BDF8 !important;
}
html[data-theme="dark"] .rhm-dur-current-price small {
    color: #94A3B8 !important;
}

/* LMS Interactive Card */
.rhm-lms-interactive-card {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
.rhm-lms-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.rhm-lms-icon-glow {
    font-size: 1.3rem;
    background: #EFF6FF !important;
    border: 1px solid #DBEAFE !important;
    color: var(--rt-accent, #3B82F6) !important;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}
.rhm-lms-head-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rhm-lms-head-text strong {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.92rem;
    color: var(--rt-text-primary, #212529) !important;
    font-weight: 800;
}
.rhm-lms-head-text span {
    font-size: 0.68rem;
    color: var(--rt-text-secondary, #6C757D) !important;
}
.rhm-lms-status-chip {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: #DCFCE7 !important;
    color: #15803D !important;
    border: 1px solid #BBF7D0 !important;
}
.rhm-lms-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #FFFFFF !important;
    border-radius: 10px;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
}
.rhm-benefit-row {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.74rem;
    color: var(--rt-text-primary, #212529) !important;
    display: flex;
    align-items: center;
    gap: 7px;
}
.rhm-benefit-row span {
    color: var(--rt-accent, #3B82F6) !important;
    font-weight: 900;
    font-size: 0.82rem;
}
.rhm-lms-pricing-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--rt-border, #E9ECEF) !important;
}
.rhm-lms-cost-label {
    font-size: 0.74rem;
    color: var(--rt-text-secondary, #6C757D) !important;
    font-weight: 600;
}
.rhm-lms-cost-val {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--rt-accent, #3B82F6) !important;
}

/* Sticky Footer CTA with Dynamic Live Price */
.rhm-apple-back-footer {
    flex-shrink: 0 !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    padding-bottom: 2px !important;
    position: sticky !important;
    bottom: 0 !important;
    background: var(--rt-bg-surface, #FFFFFF) !important;
    border-top: 1px solid var(--rt-border, #E2E8F0) !important;
    z-index: 5 !important;
}
html[data-theme="dark"] .rhm-apple-back-footer {
    background: var(--rt-bg-surface, #1E293B) !important;
    border-top: 1px solid var(--rt-border, rgba(255, 255, 255, 0.08)) !important;
}
.rhm-apple-primary-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--rt-accent, #3B82F6) !important;
    color: #FFFFFF !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28) !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.rhm-apple-primary-cta:hover {
    background: var(--rt-accent-hover, #2563EB) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.38) !important;
}
.rhm-cta-label-txt {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFFFFF !important;
}
.rhm-cta-price-bubble {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    padding: 3px 11px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}
.rhm-apple-primary-cta svg {
    color: #FFFFFF !important;
    transition: transform 0.25s ease;
}
.rhm-apple-primary-cta:hover svg {
    transform: translateX(4px);
}

/* Dark Mode Overrides for 3D Cards & Configurator */
html[data-theme="dark"] .rhm-flip-front {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .rhm-stamp {
    background: rgba(15, 23, 42, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #E5E7EB !important;
}
html[data-theme="dark"] .rhm-tag-pill {
    background: rgba(15, 23, 42, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}
html[data-theme="dark"] .rhm-flip-open {
    background: #1A1D20 !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-theme="dark"] .rhm-flip-back {
    background: #1A1D20 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
}
html[data-theme="dark"] .rhm-apple-back-header {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .rhm-apple-title-meta h4 {
    color: #FFFFFF !important;
}
html[data-theme="dark"] .rhm-apple-sub-badge {
    color: #9CA3AF !important;
}
html[data-theme="dark"] .rhm-flip-close {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}
html[data-theme="dark"] .rhm-apple-seg-control,
html[data-theme="dark"] .rhm-apple-fmt-control {
    background: #121416 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .rhm-apple-seg-btn,
html[data-theme="dark"] .rhm-fmt-btn {
    color: #9CA3AF !important;
}
html[data-theme="dark"] .rhm-fmt-btn.active {
    background: #212529 !important;
    color: #FFFFFF !important;
}
html[data-theme="dark"] .rhm-dur-interactive-card {
    background: #121416 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .rhm-dur-interactive-card.active-selected {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: #3B82F6 !important;
}
html[data-theme="dark"] .rhm-dur-period {
    color: #FFFFFF !important;
}
html[data-theme="dark"] .rhm-lms-interactive-card {
    background: #121416 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .rhm-lms-head-text strong,
html[data-theme="dark"] .rhm-benefit-row {
    color: #FFFFFF !important;
}
html[data-theme="dark"] .rhm-lms-benefits {
    background: #1A1D20 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* =========================================
   3. HOW IT WORKS (The RIMA Pathway) - MODERN BENTO SHOWCASE
   ========================================= */
.rhm-how-it-works {
    position: relative;
    padding: 120px 0 130px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #f1f5f9 100%);
    overflow: hidden;
}

.rhm-pathway-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 15% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(0, 229, 255, 0.06) 0%, transparent 55%),
        radial-gradient(circle at 50% 10%, rgba(225, 29, 72, 0.03) 0%, transparent 40%);
}

.rhm-pathway-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.rhm-pathway-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.16);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1d4ed8;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.rhm-badge-sparkle {
    font-size: 0.95rem;
}

.rhm-interactive-pathway {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* --- Left Stepper Column --- */
.rhm-pathway-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 20px;
}

.rhm-pathway-track-line {
    position: absolute;
    left: 4px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 0;
}

.rhm-pathway-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #00e5ff 0%, #2563eb 100%);
    border-radius: 4px;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.rhm-pathway-step-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rhm-mobile-pane-host {
    display: none;
}

button.rhm-pathway-tab,
.rhm-pathway-tab {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 16px 20px !important;
    border-radius: 18px !important;
    cursor: pointer !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03) !important;
    outline: none !important;
    font-family: inherit !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.rhm-pathway-tab:hover {
    border-color: #cbd5e1 !important;
    transform: translateX(4px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
}

.rhm-pathway-tab.active {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%) !important;
    border-color: #0284c7 !important;
    transform: translateX(8px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.15) !important;
}

.rhm-tab-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.28s ease;
}

.rhm-tab-icon {
    font-size: 1.3rem;
}

.rhm-pathway-tab.active .rhm-tab-icon-wrap {
    background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28) !important;
    transform: scale(1.05);
}

.rhm-tab-info {
    flex-grow: 1;
    min-width: 0;
}

.rhm-tab-step-tag {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #0284c7 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
    transition: color 0.28s ease !important;
}

.rhm-pathway-tab.active .rhm-tab-step-tag {
    color: #0369a1 !important;
}

.rhm-pathway-tab .step-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
}

.rhm-pathway-tab.active .step-title {
    color: #0369a1 !important;
}

.rhm-tab-desc {
    font-size: 0.83rem !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.rhm-tab-arrow {
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.28s ease !important;
    flex-shrink: 0 !important;
}

.rhm-pathway-tab:hover .rhm-tab-arrow {
    color: #0284c7 !important;
    transform: translateX(3px);
}

.rhm-pathway-tab.active .rhm-tab-arrow {
    color: #0284c7 !important;
    transform: translateX(4px);
}

/* --- Right Showcase Stage --- */
.rhm-pathway-content {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.07);
    position: relative;
    min-height: 540px;
    overflow: hidden;
}

.rhm-pathway-pane {
    position: absolute;
    inset: 0;
    padding: 44px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    display: flex;
    align-items: center;
}

.rhm-pathway-pane.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.rhm-pane-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* Pane Left Column: Text & Features */
.rhm-pane-text-col {
    display: flex;
    flex-direction: column;
}

.rhm-pane-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.rhm-pb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0284c7;
    box-shadow: 0 0 8px #0284c7;
    animation: rhmPulseDot 2s infinite;
}

@keyframes rhmPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.rhm-pane-h3 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
}

.rhm-pane-p {
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 24px;
}

.rhm-pane-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.rhm-pf-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rhm-pf-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.rhm-pf-item strong {
    font-size: 0.96rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
}

.rhm-pf-item span {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 1px;
}

.rhm-pane-action {
    margin-top: 8px;
}

.rhm-pane-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: #ffffff !important;
    padding: 13px 26px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.28s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.rhm-pane-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    color: #ffffff !important;
}

/* Pane Right Column: Interactive Mockup Card */
.rhm-pane-visual-col {
    position: relative;
    width: 100%;
}

.rhm-mockup-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
    position: relative;
}

.rhm-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.rhm-mock-dots {
    display: flex;
    gap: 6px;
}

.rhm-mock-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.rhm-mock-dots span:nth-child(1) { background: #ef4444; }
.rhm-mock-dots span:nth-child(2) { background: #f59e0b; }
.rhm-mock-dots span:nth-child(3) { background: #10b981; }

.rhm-mock-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #64748b;
    text-transform: uppercase;
}

.rhm-mock-body {
    padding: 24px;
    background: #ffffff;
}

/* Mockup 1: Placement & Assessment */
.rhm-cefr-badge-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    margin-bottom: 20px;
}

.rhm-cefr-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.rhm-cefr-lvl {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.rhm-cefr-sub {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
}

.rhm-cefr-desc strong {
    font-size: 1.02rem;
    color: #14532d;
    display: block;
    margin-bottom: 2px;
}

.rhm-cefr-desc p {
    font-size: 0.82rem;
    color: #166534;
    line-height: 1.35;
    margin: 0;
}

.rhm-skills-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.rhm-skill-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rhm-skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    color: #334155;
    font-weight: 600;
}

.rhm-skill-info strong {
    color: #0f172a;
    font-weight: 800;
}

.rhm-skill-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.rhm-sb-fill {
    height: 100%;
    background: linear-gradient(90deg, #00e5ff 0%, #2563eb 100%);
    border-radius: 999px;
    transition: width 1s ease-out;
}

.rhm-mock-footer-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    color: #475569;
}

/* Mockup 2: Course Tiers */
.rhm-tier-preview-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rhm-tpl-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.rhm-tpl-item.featured {
    background: #f0f7ff;
    border: 1.5px solid #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

.rhm-tpl-badge {
    position: absolute;
    top: -9px;
    right: 14px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.rhm-tpl-icon {
    font-size: 1.5rem;
}

.rhm-tpl-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rhm-tpl-info strong {
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 700;
}

.rhm-tpl-info span {
    font-size: 0.76rem;
    color: #64748b;
}

.rhm-tpl-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.rhm-tpl-item.featured .rhm-tpl-price {
    color: #1d4ed8;
}

/* Mockup 3: Classroom Video */
.rhm-mockup-classroom {
    background: #0f172a;
    color: #ffffff;
}

.rhm-classroom-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    font-size: 0.75rem;
    font-weight: 700;
}

.rhm-cr-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: rhmPulseDot 1.4s infinite;
}

.rhm-cr-title {
    color: #e2e8f0;
    letter-spacing: 0.06em;
    flex-grow: 1;
}

.rhm-cr-time {
    color: #94a3b8;
    font-family: monospace;
    font-size: 0.8rem;
}

.rhm-classroom-video {
    position: relative;
    padding: 30px 20px;
    background: radial-gradient(circle at 50% 40%, #1e293b 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.rhm-tutor-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rhm-avatar-img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #334155;
    border: 3px solid #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.rhm-tutor-tag strong {
    font-size: 1.05rem;
    color: #ffffff;
    display: block;
}

.rhm-tutor-tag span {
    font-size: 0.78rem;
    color: #94a3b8;
}

.rhm-audio-waves {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
}

.rhm-audio-waves span {
    width: 3px;
    height: 100%;
    background: #00e5ff;
    border-radius: 2px;
    animation: rhmAudioWave 1.2s infinite ease-in-out alternate;
}

.rhm-audio-waves span:nth-child(2) { animation-delay: 0.2s; }
.rhm-audio-waves span:nth-child(3) { animation-delay: 0.4s; }
.rhm-audio-waves span:nth-child(4) { animation-delay: 0.1s; }
.rhm-audio-waves span:nth-child(5) { animation-delay: 0.3s; }
.rhm-audio-waves span:nth-child(6) { animation-delay: 0.5s; }

@keyframes rhmAudioWave {
    0% { height: 4px; }
    100% { height: 22px; }
}

.rhm-video-overlay-pill {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    color: #e2e8f0;
}

.rhm-classroom-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px 16px;
    background: #0b1120;
    border-top: 1px solid #1e293b;
}

.rhm-ctrl-btn {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    padding: 8px 6px;
    border-radius: 8px;
    background: #1e293b;
    color: #94a3b8;
    cursor: default;
}

.rhm-ctrl-btn.active {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

/* Mockup 4: Practice Quiz */
.rhm-quiz-progress-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 8px;
}

.rhm-quiz-progress-top strong {
    color: #2563eb;
}

.rhm-quiz-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 18px;
}

.rhm-qb-fill {
    height: 100%;
    background: #2563eb;
    border-radius: 999px;
}

.rhm-quiz-question-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rhm-qq-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.08em;
}

.rhm-qq-text {
    font-size: 0.94rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.rhm-qq-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.rhm-qo-opt {
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.84rem;
    color: #334155;
}

.rhm-qo-opt.correct {
    background: #f0fdf4;
    border: 1.5px solid #22c55e;
    color: #14532d;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rhm-qo-tag {
    background: #22c55e;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Mockup 5: Official Certificate */
.rhm-mockup-cert {
    padding: 8px;
    background: #ffffff;
}

.rhm-cert-frame {
    border: 2px solid #d97706;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #fffbeb 0%, #ffffff 70%);
    position: relative;
    box-shadow: inset 0 0 16px rgba(217, 119, 6, 0.08);
}

.rhm-cert-seal {
    font-size: 2.2rem;
    margin-bottom: 4px;
}

.rhm-cert-org {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #92400e;
    margin-bottom: 4px;
}

.rhm-cert-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #78350f;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.rhm-cert-for {
    font-size: 0.72rem;
    color: #78350f;
    font-style: italic;
    margin-bottom: 2px;
}

.rhm-cert-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    border-bottom: 1px solid #fde68a;
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.rhm-cert-sub {
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 18px;
}

.rhm-cert-sub strong {
    color: #1e3a8a;
}

.rhm-cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 14px;
    border-top: 1px dashed #fde68a;
}

.rhm-cert-sign, .rhm-cert-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rhm-sign-line {
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: 1.25rem;
    color: #1e3a8a;
}

.rhm-cert-sign small, .rhm-cert-qr small {
    font-size: 0.65rem;
    color: #78350f;
    font-weight: 600;
}

.rhm-qr-box {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
    margin-bottom: 2px;
}

/* ==========================================================================
   Responsiveness for Pathway - MODERN IN-PLACE MOBILE ACCORDION
   ========================================================================== */
@media (max-width: 1024px) {
    .rhm-interactive-pathway {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .rhm-pathway-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        padding-left: 0 !important;
        width: 100% !important;
    }

    .rhm-pathway-track-line,
    .rhm-pathway-content#rhm-desktop-stage {
        display: none !important;
    }

    /* Accordion Step Card Container */
    .rhm-pathway-step-item {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        background: #ffffff !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
        transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.2s ease !important;
    }

    .rhm-pathway-step-item.is-open {
        border-color: #0284c7 !important;
        box-shadow: 0 10px 30px rgba(2, 132, 199, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    }

    /* Accordion Header / Trigger Button Base */
    button.rhm-pathway-tab,
    .rhm-pathway-tab {
        all: unset !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        width: 100% !important;
        padding: 16px 18px !important;
        cursor: pointer !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        transition: background 0.22s ease !important;
    }

    /* Light Mode Pathway Mobile Styles */
    html:not([data-theme="dark"]) .rhm-pathway-step-item {
        background: #ffffff !important;
        border: 1.5px solid #e2e8f0 !important;
    }
    html:not([data-theme="dark"]) button.rhm-pathway-tab,
    html:not([data-theme="dark"]) .rhm-pathway-tab {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #0f172a !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-step-item.is-open .rhm-pathway-tab {
        background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
        border-bottom: 1px solid rgba(2, 132, 199, 0.14) !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-tab .rhm-tab-icon-wrap {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
        background: #f1f5f9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        transition: all 0.25s ease !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-step-item.is-open .rhm-tab-icon-wrap {
        background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%) !important;
        box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3) !important;
        transform: scale(1.05) !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-tab .rhm-tab-step-tag {
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        color: #0284c7 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        margin-bottom: 2px !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-step-item.is-open .rhm-pathway-tab .rhm-tab-step-tag {
        color: #0369a1 !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-tab .step-title {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-step-item.is-open .rhm-pathway-tab .step-title {
        color: #0284c7 !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-tab .rhm-tab-desc {
        font-size: 0.82rem !important;
        color: #475569 !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-tab .rhm-tab-arrow {
        color: #94a3b8 !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
    }
    html:not([data-theme="dark"]) .rhm-pathway-step-item.is-open .rhm-pathway-tab .rhm-tab-arrow {
        color: #0284c7 !important;
        transform: rotate(90deg) !important;
    }

    /* Dark Mode Pathway Mobile Styles (High-Contrast Executive Navy & White) */
    html[data-theme="dark"] .rhm-pathway-step-item {
        background: linear-gradient(135deg, #0e1e38 0%, #16274a 100%) !important;
        border: 1.5px solid rgba(56, 189, 248, 0.22) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
    }
    html[data-theme="dark"] .rhm-pathway-step-item.is-open {
        border-color: #38bdf8 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.25) !important;
    }
    html[data-theme="dark"] button.rhm-pathway-tab,
    html[data-theme="dark"] .rhm-pathway-tab {
        background: transparent !important;
        background-color: transparent !important;
        color: #ffffff !important;
    }
    html[data-theme="dark"] .rhm-pathway-step-item.is-open .rhm-pathway-tab {
        background: linear-gradient(135deg, #132a52 0%, #1e3a6a 100%) !important;
        border-bottom: 1px solid rgba(56, 189, 248, 0.24) !important;
    }
    html[data-theme="dark"] .rhm-pathway-tab .rhm-tab-icon-wrap {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        transition: all 0.25s ease !important;
    }
    html[data-theme="dark"] .rhm-pathway-step-item.is-open .rhm-tab-icon-wrap {
        background: #ffffff !important;
        box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4) !important;
        transform: scale(1.05) !important;
    }
    html[data-theme="dark"] .rhm-pathway-tab .rhm-tab-step-tag,
    html[data-theme="dark"] .rhm-pathway-tab .rhm-tab-step-tag * {
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        color: #38bdf8 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        margin-bottom: 2px !important;
    }
    html[data-theme="dark"] .rhm-pathway-step-item.is-open .rhm-pathway-tab .rhm-tab-step-tag,
    html[data-theme="dark"] .rhm-pathway-step-item.is-open .rhm-pathway-tab .rhm-tab-step-tag * {
        color: #38bdf8 !important;
    }
    html[data-theme="dark"] .rhm-pathway-tab .step-title,
    html[data-theme="dark"] .rhm-pathway-tab .step-title * {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    }
    html[data-theme="dark"] .rhm-pathway-step-item.is-open .rhm-pathway-tab .step-title,
    html[data-theme="dark"] .rhm-pathway-step-item.is-open .rhm-pathway-tab .step-title * {
        color: #ffffff !important;
    }
    html[data-theme="dark"] .rhm-pathway-tab .rhm-tab-desc,
    html[data-theme="dark"] .rhm-pathway-tab .rhm-tab-desc * {
        font-size: 0.82rem !important;
        color: #cbd5e1 !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    html[data-theme="dark"] .rhm-pathway-tab .rhm-tab-arrow,
    html[data-theme="dark"] .rhm-pathway-tab .rhm-tab-arrow svg {
        color: #38bdf8 !important;
        stroke: #38bdf8 !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
    }
    html[data-theme="dark"] .rhm-pathway-step-item.is-open .rhm-pathway-tab .rhm-tab-arrow,
    html[data-theme="dark"] .rhm-pathway-step-item.is-open .rhm-pathway-tab .rhm-tab-arrow svg {
        color: #38bdf8 !important;
        stroke: #38bdf8 !important;
        transform: rotate(90deg) !important;
    }

    .rhm-pathway-tab .rhm-tab-info {
        flex-grow: 1 !important;
        min-width: 0 !important;
    }

    /* Accordion Body / Mobile Pane Host */
    .rhm-mobile-pane-host {
        display: none;
        width: 100% !important;
        background: #fafbfc !important;
    }

    .rhm-pathway-step-item.is-open .rhm-mobile-pane-host {
        display: block !important;
        padding: 20px 18px 24px !important;
        animation: rhmMobileAccordionIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    @keyframes rhmMobileAccordionIn {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .rhm-mobile-pane-host .rhm-pathway-pane {
        position: static !important;
        display: block !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        min-height: auto !important;
        width: 100% !important;
    }

    .rhm-mobile-pane-host .rhm-pane-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
        width: 100% !important;
    }

    .rhm-mobile-pane-host .rhm-pane-text-col {
        width: 100% !important;
    }

    .rhm-mobile-pane-host .rhm-pane-badge {
        margin-bottom: 12px !important;
    }

    .rhm-mobile-pane-host .rhm-pane-h3 {
        font-size: 1.4rem !important;
        color: #0f172a !important;
        margin: 6px 0 12px 0 !important;
        line-height: 1.25 !important;
    }

    .rhm-mobile-pane-host .rhm-pane-p {
        font-size: 0.9rem !important;
        color: #475569 !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    .rhm-mobile-pane-host .rhm-pane-features {
        margin-bottom: 22px !important;
        gap: 12px !important;
    }

    .rhm-mobile-pane-host .rhm-pf-item {
        gap: 12px !important;
    }

    .rhm-mobile-pane-host .rhm-pane-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .rhm-mobile-pane-host .rhm-pane-visual-col {
        width: 100% !important;
        max-width: 100% !important;
    }

    .rhm-mobile-pane-host .rhm-mockup-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }
}

@media (max-width: 640px) {
    .rhm-how-it-works {
        padding: 80px 0;
    }
    .rhm-pathway-pane {
        padding: 24px 18px;
    }
    .rhm-pane-h3 {
        font-size: 1.6rem;
    }
    .rhm-mock-body {
        padding: 16px;
    }
    .rhm-classroom-video {
        padding: 20px 14px;
    }
}

/* =========================================
   4. PARALLAX MEDIA BREAK (MODERN MINIMALIST LIGHT EXPERIENCE)
   ========================================= */
.rhm-parallax-break {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    background: var(--rt-bg-page, #F8F9FA) !important;
    border-top: 1px solid var(--rt-border, #E9ECEF) !important;
    border-bottom: 1px solid var(--rt-border, #E9ECEF) !important;
    isolation: isolate;
}

.rhm-parallax-bg {
    position: absolute;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: grayscale(25%) contrast(1.05);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    z-index: 1;
}

/* Light mesh gradient overlay */
.rhm-parallax-mesh-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(248, 249, 250, 0.9) 0%, rgba(248, 249, 250, 0.5) 50%, rgba(248, 249, 250, 0.95) 100%) !important;
    pointer-events: none;
}

.rhm-parallax-orb {
    display: none !important;
}

/* Subtle tech grid overlay */
.rhm-parallax-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(108, 117, 125, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 117, 125, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

/* Floating Badges Layer */
.rhm-parallax-floating-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.rhm-float-badge {
    position: absolute;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 12px;
    background: #FFFFFF !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    box-shadow: 0 10px 25px -4px rgba(33, 37, 41, 0.08) !important;
    color: var(--rt-text-primary, #212529) !important;
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    user-select: none;
}
.rhm-float-badge:hover {
    transform: translateY(-4px) scale(1.02) !important;
    border-color: var(--rt-border-strong, #CED4DA) !important;
    box-shadow: 0 16px 32px -4px rgba(33, 37, 41, 0.12) !important;
}

.rhm-badge-top-left {
    top: 14%;
    left: 7%;
    animation: rhmBadgeFloat1 7s ease-in-out infinite;
}
.rhm-badge-top-right {
    top: 16%;
    right: 7%;
    animation: rhmBadgeFloat2 8.5s ease-in-out infinite;
}
.rhm-badge-bottom-left {
    bottom: 16%;
    left: 8%;
    animation: rhmBadgeFloat3 8s ease-in-out infinite;
}
.rhm-badge-bottom-right {
    bottom: 14%;
    right: 8%;
    animation: rhmBadgeFloat4 7.5s ease-in-out infinite;
}

@keyframes rhmBadgeFloat1 {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}
@keyframes rhmBadgeFloat2 {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-16px) rotate(-1deg); }
}
@keyframes rhmBadgeFloat3 {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(14px) rotate(-1.5deg); }
}
@keyframes rhmBadgeFloat4 {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(12px) rotate(1.5deg); }
}

.rhm-float-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}
.rhm-float-icon-box.cyan-glow {
    background: #EFF6FF !important;
    color: var(--rt-accent, #3B82F6) !important;
    border: 1px solid #DBEAFE !important;
    box-shadow: none !important;
}
.rhm-float-icon-box.amber-glow {
    background: #FEF3C7 !important;
    color: #D97706 !important;
    border: 1px solid #FDE68A !important;
    box-shadow: none !important;
}
.rhm-float-icon-box.indigo-glow {
    background: #EEF2FF !important;
    color: #4F46E5 !important;
    border: 1px solid #C7D2FE !important;
    box-shadow: none !important;
}
.rhm-float-icon-box.emerald-glow {
    background: #DCFCE7 !important;
    color: #16A34A !important;
    border: 1px solid #BBF7D0 !important;
    box-shadow: none !important;
}

.rhm-float-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rhm-float-title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--rt-text-primary, #212529) !important;
    letter-spacing: -0.01em;
}
.rhm-float-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.78rem;
    color: var(--rt-text-secondary, #6C757D) !important;
    font-weight: 500;
}

/* Central Foreground Content */
.rhm-parallax-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 960px;
    padding: 80px 24px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.rhm-parallax-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 9999px;
    background: #FFFFFF !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rt-text-secondary, #6C757D) !important;
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.04) !important;
    margin-bottom: 24px;
}
.rhm-pulse-sparkle {
    display: inline-block;
    color: var(--rt-accent, #3B82F6);
}

.rhm-massive-text {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(2.8rem, 6.5vw, 5.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    text-align: center !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: var(--rt-text-primary, #212529) !important;
    -webkit-text-fill-color: var(--rt-text-primary, #212529) !important;
    filter: none !important;
    text-shadow: none !important;
    position: relative;
}

.rhm-parallax-desc {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;
    color: var(--rt-text-secondary, #6C757D) !important;
    max-width: 680px;
    margin: 0 auto 36px;
    font-weight: 400;
    text-shadow: none !important;
}

.rhm-parallax-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rhm-btn-parallax-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 10px !important;
    background: var(--rt-accent, #3B82F6) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    border: none !important;
}
.rhm-btn-parallax-primary:hover {
    background: var(--rt-accent-hover, #2563EB) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4) !important;
    color: #ffffff !important;
}
.rhm-btn-parallax-primary svg {
    transition: transform 0.25s ease;
}
.rhm-btn-parallax-primary:hover svg {
    transform: translateX(4px);
}

.rhm-btn-parallax-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    color: var(--rt-text-primary, #212529) !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.04) !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.rhm-btn-parallax-glass:hover {
    background: var(--rt-bg-surface-alt, #E9ECEF) !important;
    border-color: var(--rt-border-strong, #CED4DA) !important;
    transform: translateY(-2px);
    color: var(--rt-text-primary, #212529) !important;
}

/* Dark Mode Overrides for Parallax Break */
html[data-theme="dark"] .rhm-parallax-break {
    background: #060a16 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .rhm-parallax-bg {
    opacity: 1;
    filter: brightness(0.55) contrast(1.15) saturate(1.15);
}
html[data-theme="dark"] .rhm-parallax-mesh-overlay {
    background: 
        radial-gradient(circle at 18% 32%, rgba(14, 165, 233, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 82% 68%, rgba(99, 102, 241, 0.28) 0%, transparent 60%),
        linear-gradient(180deg, rgba(6, 10, 22, 0.85) 0%, rgba(4, 7, 16, 0.55) 50%, rgba(6, 10, 22, 0.95) 100%) !important;
}
html[data-theme="dark"] .rhm-float-badge {
    background: rgba(13, 22, 42, 0.82) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}
html[data-theme="dark"] .rhm-float-title {
    color: #ffffff !important;
}
html[data-theme="dark"] .rhm-float-subtitle {
    color: rgba(203, 213, 225, 0.85) !important;
}
html[data-theme="dark"] .rhm-massive-text {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
}
html[data-theme="dark"] .rhm-parallax-desc {
    color: rgba(226, 232, 240, 0.9) !important;
}
html[data-theme="dark"] .rhm-btn-parallax-glass {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

/* =========================================
   5. MARQUEE TESTIMONIALS (#121416 Contrast)
   ========================================= */
.rhm-marquee-section {
    position: relative;
    padding: 85px 0 75px;
    background: #121416 !important; /* Gri închis (#121416) pentru a crea contrast puternic */
    border-top: 1px solid #212529 !important;
    border-bottom: 1px solid #212529 !important;
    overflow: hidden;
}
.rhm-marquee {
    display: flex;
    width: 200%;
    margin-bottom: 30px;
}
.rhm-marquee-track {
    display: flex;
    gap: 30px;
    padding: 0 15px;
    white-space: nowrap;
}
.rhm-testimonial-card {
    background: #1A1D20 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 30px;
    min-width: 400px;
    white-space: normal;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}
.rhm-testimonial-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}
.rhm-testi-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #E5E7EB !important; /* Alb și gri deschis (#E5E7EB) */
    margin-bottom: 18px;
    line-height: 1.6;
}
.rhm-testi-author {
    font-weight: 700;
    color: #3B82F6 !important; /* Tech Blue Accent */
    font-size: 0.95rem;
}
.rhm-marquee-left .rhm-marquee-track { animation: scrollLeft 40s linear infinite; }
.rhm-marquee-right .rhm-marquee-track { animation: scrollRight 40s linear infinite; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* =========================================
   6. FINAL LUXURY CTA (AURORA MASTER PORTAL)
   ========================================= */
.rhm-cta-section {
    position: relative;
    padding: 100px 24px;
    background: var(--rt-bg-page, #F8F9FA) !important;
    overflow: hidden;
    isolation: isolate;
}

/* Ensure backward-compatibility with existing selectors */
.rhm-cta {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.rhm-cta-card {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 16px;
    background: #FFFFFF !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    box-shadow: 0 20px 50px -10px rgba(33, 37, 41, 0.08) !important;
    padding: 70px 40px;
    text-align: center;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

/* Aurora Lighting Engine */
.rhm-cta-aurora {
    display: none !important;
}

.rhm-cta-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(108, 117, 125, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 117, 125, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.5;
    pointer-events: none;
}

/* CTA Inner Content */
.rhm-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rhm-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 9999px;
    background: var(--rt-bg-page, #F8F9FA) !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    color: var(--rt-text-secondary, #6C757D) !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.04) !important;
}

.rhm-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--rt-accent, #3B82F6) !important;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4) !important;
    animation: rhmPulseDot 1.8s ease-in-out infinite;
}

.rhm-cta-title {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(2.3rem, 4.8vw, 3.8rem) !important;
    font-weight: 800 !important;
    color: var(--rt-text-primary, #212529) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    margin: 0 0 20px 0 !important;
    text-align: center !important;
    max-width: 980px;
    text-shadow: none !important;
}

.rhm-cta-title .rhm-gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--rt-accent, #3B82F6) !important;
    color: var(--rt-accent, #3B82F6) !important;
    display: inline-block;
    filter: none !important;
}

.rhm-cta-desc {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem) !important;
    color: var(--rt-text-secondary, #6C757D) !important;
    line-height: 1.65 !important;
    max-width: 720px !important;
    margin: 0 auto 38px !important;
    text-align: center !important;
    font-weight: 400 !important;
}

.rhm-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.rhm-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 34px;
    border-radius: 10px !important;
    background: var(--rt-accent, #3B82F6) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.rhm-btn-glow:hover {
    background: var(--rt-accent-hover, #2563EB) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4) !important;
    color: #ffffff !important;
}
.rhm-btn-glow svg {
    transition: transform 0.25s ease;
}
.rhm-btn-glow:hover svg {
    transform: translateX(4px);
}

.rhm-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    color: var(--rt-text-primary, #212529) !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid var(--rt-border, #E9ECEF) !important;
    box-shadow: 0 2px 8px rgba(33, 37, 41, 0.04) !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.rhm-btn-glass:hover {
    background: var(--rt-bg-surface-alt, #E9ECEF) !important;
    border-color: var(--rt-border-strong, #CED4DA) !important;
    transform: translateY(-2px);
    color: var(--rt-text-primary, #212529) !important;
}

/* Social Proof Strip */
.rhm-cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--rt-border, #E9ECEF) !important;
    width: 100%;
    max-width: 680px;
}

.rhm-cta-avatars {
    display: flex;
    align-items: center;
}
.rhm-cta-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #FFFFFF !important;
    object-fit: cover;
    margin-left: -10px;
    box-shadow: 0 2px 6px rgba(33, 37, 41, 0.1);
    transition: transform 0.2s ease;
}
.rhm-cta-avatar:first-child {
    margin-left: 0;
}
.rhm-cta-avatar:hover {
    transform: translateY(-3px) scale(1.15);
    z-index: 5;
}
.rhm-cta-avatar-count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--rt-accent, #3B82F6) !important;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    border: 2px solid #FFFFFF !important;
    margin-left: -10px;
}

.rhm-cta-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rhm-cta-stars {
    color: #F59E0B;
    letter-spacing: 2px;
    font-size: 1.05rem;
}
.rhm-cta-rating-text {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: var(--rt-text-secondary, #6C757D) !important;
    font-size: 0.92rem;
}
.rhm-cta-rating-text strong {
    color: var(--rt-text-primary, #212529) !important;
}

/* Perks Strip */
.rhm-cta-perks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}
.rhm-cta-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: var(--rt-text-secondary, #6C757D) !important;
    font-size: 0.92rem;
    font-weight: 500;
}
.rhm-cta-perk svg {
    color: var(--rt-accent, #3B82F6) !important;
    filter: none !important;
}

/* Dark Mode Overrides for Final CTA */
html[data-theme="dark"] .rhm-cta-section {
    background: #060a16 !important;
}
html[data-theme="dark"] .rhm-cta-card {
    background: radial-gradient(circle at 50% -20%, #17264c 0%, #0c1429 55%, #060a16 100%) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.85) !important;
}
html[data-theme="dark"] .rhm-cta-title {
    color: #ffffff !important;
}
html[data-theme="dark"] .rhm-cta-desc {
    color: rgba(226, 232, 240, 0.88) !important;
}
html[data-theme="dark"] .rhm-btn-glass {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
html[data-theme="dark"] .rhm-cta-trust {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .rhm-cta-avatar {
    border-color: #0c1429 !important;
}
html[data-theme="dark"] .rhm-cta-rating-text {
    color: rgba(226, 232, 240, 0.9) !important;
}
html[data-theme="dark"] .rhm-cta-rating-text strong {
    color: #ffffff !important;
}
html[data-theme="dark"] .rhm-cta-perk {
    color: rgba(203, 213, 225, 0.85) !important;
}

/* Note: Apple style interactive cards are styled in Section 2 (Card Catalog) */

/* ==========================================================================
   RIMA ACADEMY 2026 - SENIOR UI DEVELOPER RESPONSIVE OVERHAUL (100% MOBILE)
   Zero overflow-x, perfect touch ergonomics (>=44px), fluid typography,
   adaptive bento grids, and mobile-first container safety.
   ========================================================================== */

/* 1. GLOBAL VIEWPORT & CONTAINER SAFETY */
html, body {
    overflow-x: clip !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .rhm-hero,
    .rhm-hero.rhm-hero-white {
        padding: 60px 0 36px !important;
        min-height: auto !important;
    }
}

@media (max-width: 768px) {
    .rhm-container {
        padding: 0 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .rhm-hero-container {
        padding: 0 20px !important;
    }
    .rhm-title-lead {
        font-size: clamp(1.8rem, 6.8vw, 3rem) !important;
        margin-bottom: 4px !important;
    }
    #rhm-typed-text {
        font-size: clamp(2.2rem, 8.2vw, 3.8rem) !important;
        word-break: break-word !important;
    }
    .rhm-cursor {
        font-size: clamp(2.2rem, 8.2vw, 3.8rem) !important;
    }
    .rhm-hero-p {
        font-size: 1.02rem !important;
        line-height: 1.55 !important;
        margin-bottom: 24px !important;
    }
    .rhm-orbital-language-bar {
        align-items: center !important;
        width: 100% !important;
    }
    .rhm-gl-title {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }
    .rhm-gl-chips {
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .rhm-hero-orbital-stage-wrapper {
        width: 440px !important;
        height: 440px !important;
        max-width: 92vw !important;
        max-height: 92vw !important;
    }
    .rhm-trusted-by {
        padding: 30px 0 !important;
    }
    .rhm-trusted-logos {
        gap: 20px 28px !important;
    }
    .rhm-trusted-logos span {
        font-size: 1.15rem !important;
    }
    /* Section 2: Course Catalog 1-Column Responsive Grid */
    .rhm-courses {
        padding: 60px 0 !important;
    }
    .rhm-section-header {
        margin: 0 auto 36px !important;
        padding: 0 10px !important;
    }
    .rhm-flip-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
    }
    .rhm-flip-container {
        height: 660px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .rhm-flip-front-content {
        padding: 30px 24px !important;
    }
    .rhm-flip-front-content h3 {
        font-size: 2.2rem !important;
    }
    .rhm-flip-back,
    .rhm-apple-back {
        padding: 18px 16px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    .rhm-apple-title-group h4 {
        font-size: 1.05rem !important;
    }
    .rhm-apple-seg-control {
        padding: 2px !important;
        margin-bottom: 8px !important;
    }
    .rhm-apple-seg-btn {
        font-size: 0.74rem !important;
        padding: 6px 8px !important;
    }
    .rhm-apple-fmt-control {
        margin-bottom: 8px !important;
        gap: 3px !important;
    }
    .rhm-fmt-btn {
        font-size: 0.68rem !important;
        padding: 6px 2px !important;
    }
    .rhm-dur-interactive-card {
        padding: 8px 10px !important;
    }
    .rhm-apple-primary-cta {
        padding: 11px 16px !important;
        font-size: 0.88rem !important;
    }
    /* Section 3: The RIMA Pathway */
    .rhm-how-it-works {
        padding: 50px 0 !important;
    }
    .rhm-pathway-tab {
        padding: 14px 16px !important;
        border-radius: 0 !important;
    }
    .rhm-pathway-tab .step-title {
        font-size: 0.98rem !important;
    }
    .rhm-pathway-tab .rhm-tab-desc {
        font-size: 0.78rem !important;
    }
    /* Section 4, 5, 6: Modern Parallax, Marquee & CTA */
    .rhm-parallax-break {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: auto !important;
        height: auto !important;
        padding: clamp(48px, 8vw, 80px) 16px !important;
        gap: 24px !important;
        overflow: hidden !important;
    }
    .rhm-parallax-content {
        order: 1 !important;
        width: 100% !important;
        max-width: 600px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    .rhm-massive-text {
        font-size: clamp(1.85rem, 6.5vw, 3.2rem) !important;
        line-height: 1.15 !important;
        text-wrap: balance !important;
        word-break: normal !important;
        hyphens: none !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 16px !important;
    }
    .rhm-parallax-desc {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
        margin: 0 auto 20px !important;
        padding: 0 4px !important;
    }
    .rhm-parallax-floating-layer {
        order: 2 !important;
        position: relative !important;
        inset: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        z-index: 4 !important;
        pointer-events: auto !important;
    }
    .rhm-float-badge {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .rhm-float-icon-box {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .rhm-float-icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }
    .rhm-float-title {
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .rhm-float-subtitle {
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .rhm-parallax-actions {
        order: 3 !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 10px auto 0 !important;
        gap: 12px !important;
    }
    .rhm-btn-parallax-primary,
    .rhm-btn-parallax-glass {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 24px !important;
        box-sizing: border-box !important;
    }
    .rhm-orbital-pin-marker,
    .rhm-orbital-pin-inner {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .rhm-marquee-section {
        padding: 60px 0 !important;
    }
    .rhm-testimonial-card {
        min-width: 300px !important;
        max-width: 320px !important;
        padding: 20px 18px !important;
    }
    .rhm-cta-section {
        padding: 60px 16px !important;
    }
    .rhm-cta-card {
        padding: 55px 22px !important;
        border-radius: 26px !important;
    }
    .rhm-cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .rhm-btn-glow,
    .rhm-btn-glass {
        width: 100%;
        justify-content: center;
        padding: 16px 24px !important;
    }
    .rhm-cta-perks {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .rhm-hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 26px !important;
    }
    .rhm-hero-actions .rima-btn-primary,
    .rhm-hero-actions .rima-btn-secondary {
        width: 100% !important;
        max-width: 380px !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
        min-height: 50px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .rhm-gl-chips {
        justify-content: center !important;
        gap: 8px !important;
    }
    .rhm-gl-chip {
        padding: 8px 14px !important;
        gap: 8px !important;
    }
    .rhm-gl-flag {
        font-size: 1.3rem !important;
    }
    .rhm-gl-name {
        font-size: 0.86rem !important;
    }
    .rhm-gl-count {
        font-size: 0.68rem !important;
    }
    .rhm-classroom-controls {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 10px !important;
    }
    .rhm-ctrl-btn {
        font-size: 0.72rem !important;
        padding: 7px 4px !important;
    }
    .rhm-classroom-video {
        padding: 18px 12px !important;
        gap: 10px !important;
    }
    .rhm-avatar-img {
        width: 58px !important;
        height: 58px !important;
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    .rhm-container {
        padding: 0 16px !important;
    }
    .rhm-hero-container {
        padding: 0 16px !important;
    }
    .rhm-hero,
    .rhm-hero.rhm-hero-white {
        padding: 40px 0 24px !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .rhm-hero-split-grid {
        gap: 22px !important;
    }
    .rhm-hero-badge {
        padding: 6px 12px !important;
        margin-bottom: 16px !important;
        gap: 6px !important;
        max-width: 94vw !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .rhm-badge-text {
        font-size: 0.68rem !important;
        letter-spacing: 0.04em !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    .rhm-title-lead {
        font-size: clamp(1.5rem, 6.2vw, 2.2rem) !important;
        line-height: 1.08 !important;
    }
    #rhm-typed-text {
        font-size: clamp(1.9rem, 7.8vw, 2.8rem) !important;
        line-height: 1.08 !important;
    }
    .rhm-cursor {
        font-size: clamp(1.9rem, 7.8vw, 2.8rem) !important;
    }
    .rhm-hero-p {
        font-size: 0.94rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    .rhm-hero-orbital-stage-wrapper {
        width: 340px !important;
        height: 340px !important;
        max-width: 88vw !important;
        max-height: 88vw !important;
        overflow: hidden !important;
    }
    .rhm-orbital-stage,
    .rhm-orbital-wrapper,
    #rhm-orbital-viz {
        overflow: hidden !important;
        max-width: 100% !important;
    }
    .rhm-orbital-pin {
        padding: 2px 6px !important;
        gap: 3px !important;
        border-width: 1px !important;
        border-radius: 20px !important;
        max-width: 90px !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 12px rgba(15,23,42,0.12) !important;
    }
    .rhm-orbital-pin-flag {
        font-size: 12px !important;
    }
    .rhm-orbital-pin-city {
        font-size: 10px !important;
        font-weight: 600 !important;
    }
    .rhm-orbital-pin-lang {
        display: none !important;
    }
    .rhm-trusted-logos {
        gap: 14px 20px !important;
    }
    .rhm-trusted-logos span {
        font-size: 1rem !important;
    }
    /* Section 2: Cards on small mobile */
    .rhm-courses {
        padding: 44px 0 !important;
    }
    .rhm-flip-container {
        height: 650px !important;
        width: 100% !important;
    }
    .rhm-flip-front-content {
        padding: 22px 18px !important;
    }
    .rhm-flip-front-content h3 {
        font-size: 1.85rem !important;
    }
    .rhm-stamp {
        top: 14px !important;
        right: 14px !important;
        padding: 4px 10px !important;
        font-size: 0.7rem !important;
    }
    .rhm-apple-back {
        padding: 16px 14px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    .rhm-apple-title-group h4 {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
    }
    .rhm-apple-seg-control {
        margin-bottom: 10px !important;
        padding: 4px !important;
    }
    .rhm-apple-seg-btn {
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        padding: 8px 12px !important;
        min-height: 40px !important;
    }
    .rhm-apple-fmt-control {
        margin-bottom: 10px !important;
        gap: 6px !important;
    }
    .rhm-fmt-btn {
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        padding: 8px 10px !important;
        min-height: 40px !important;
    }
    .rhm-dur-interactive-card {
        padding: 14px 14px !important;
        border-radius: 14px !important;
    }
    .rhm-dur-period {
        font-size: 1rem !important;
        font-weight: 800 !important;
    }
    .rhm-dur-sessions {
        font-size: 0.88rem !important;
        color: #334155 !important;
        line-height: 1.4 !important;
    }
    html[data-theme="dark"] .rhm-dur-sessions {
        color: #CBD5E1 !important;
    }
    .rhm-dur-current-price {
        font-size: 1.35rem !important;
        font-weight: 900 !important;
    }
    .rhm-lms-interactive-card {
        padding: 14px 14px !important;
    }
    .rhm-benefit-row {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
    }
    .rhm-apple-primary-cta {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        min-height: 46px !important;
    }
    /* Section 3: Mockups on small mobile */
    .rhm-how-it-works {
        padding: 44px 0 !important;
    }
    .rhm-pathway-pane {
        padding: 18px 14px !important;
    }
    .rhm-cert-frame {
        padding: 16px 12px !important;
    }
    .rhm-cert-seal {
        font-size: 1.8rem !important;
    }
    .rhm-cert-title {
        font-size: 0.98rem !important;
    }
    .rhm-cert-name {
        font-size: 1.12rem !important;
    }
    .rhm-cert-sub {
        font-size: 0.75rem !important;
        margin-bottom: 12px !important;
    }
    .rhm-cert-footer {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .rhm-qq-text {
        font-size: 0.88rem !important;
    }
    .rhm-qo-opt {
        padding: 8px 10px !important;
        font-size: 0.78rem !important;
    }
    /* Section 4, 5, 6: Mobile Parallax, Marquee & CTA */
    .rhm-parallax-break {
        min-height: 600px !important;
        height: auto !important;
        padding: 40px 12px !important;
    }
    .rhm-parallax-floating-layer {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 20px auto 0;
    }
    .rhm-massive-text {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        padding: 0 10px !important;
    }
    .rhm-marquee-section {
        padding: 44px 0 !important;
    }
    .rhm-testimonial-card {
        min-width: 260px !important;
        max-width: 280px !important;
        padding: 16px 14px !important;
    }
    .rhm-testi-text {
        font-size: 0.88rem !important;
        margin-bottom: 10px !important;
    }
    .rhm-testi-author {
        font-size: 0.85rem !important;
    }
    .rhm-cta-section {
        padding: 45px 12px !important;
    }
    .rhm-cta-card {
        padding: 45px 16px !important;
        border-radius: 20px !important;
    }
    .rhm-cta-title {
        font-size: clamp(1.8rem, 6.5vw, 2.4rem) !important;
    }
    .rhm-cta-desc {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 380px) {
    .rhm-gl-chips {
        gap: 6px !important;
    }
    .rhm-gl-chip {
        padding: 6px 10px !important;
        gap: 6px !important;
    }
    .rhm-gl-flag {
        font-size: 1.15rem !important;
    }
    .rhm-gl-name {
        font-size: 0.8rem !important;
    }
    .rhm-title-lead {
        font-size: 1.45rem !important;
    }
    #rhm-typed-text {
        font-size: 1.75rem !important;
    }
}

/* ==========================================================================
   RIMA ACADEMY - MOBILE APP COURSE STUDIO (2026)
   Native Guided Step-by-Step Experience (Limbă -> Nivel & Format -> Plan)
   ========================================================================== */

/* Desktop screens: Studio is visible and centered */
@media (min-width: 992px) {
    .rima-mobile-app-wizard {
        display: block !important;
        max-width: 840px !important;
        margin: 0 auto 50px auto !important;
        border-radius: 28px !important;
        padding: 36px 32px !important;
    }
    .rima-app-floating-bottom-bar {
        display: none !important;
    }
    .rima-app-view-toggle {
        display: flex !important;
        margin-bottom: 24px !important;
    }
}

/* Mobile & Tablet Styles */
@media (max-width: 991.98px) {
    /* Hide the old flip grid by default on mobile */
    .rhm-flip-grid {
        display: none !important;
    }
    .rhm-flip-grid.force-show {
        display: grid !important;
    }

    /* Extra padding at the bottom of the page so floating bar doesn't overlap footer */
    body.rima-courses-master-page {
        padding-bottom: 90px !important;
    }

    /* View Mode Switcher (App Studio vs All Cards) */
    .rima-app-view-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        margin: 0 auto 20px auto !important;
        background: rgba(241, 245, 249, 0.9) !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 999px !important;
        padding: 4px !important;
        max-width: 330px !important;
        backdrop-filter: blur(12px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }
    html[data-theme="dark"] .rima-app-view-toggle {
        background: rgba(30, 41, 59, 0.85) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    .rima-view-btn {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 14px !important;
        border-radius: 999px !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        color: #64748B !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    html[data-theme="dark"] .rima-view-btn {
        color: #94A3B8 !important;
    }
    .rima-view-btn.active {
        background: #FFFFFF !important;
        color: #0F172A !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }
    html[data-theme="dark"] .rima-view-btn.active {
        background: #0F172A !important;
        color: #FFFFFF !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    }

    /* App Studio Card Shell */
    .rima-mobile-app-wizard {
        display: block !important;
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 24px !important;
        padding: 20px 16px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
        margin-bottom: 30px !important;
        position: relative !important;
    }
    html[data-theme="dark"] .rima-mobile-app-wizard {
        background: #0B132B !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    }

    /* ── 2026 SINGLE-VIEW CONFIGURATOR STYLES ── */
    .rima-studio-compact-head {
        text-align: center !important;
        margin-bottom: 18px !important;
    }
    .rima-studio-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 4px 12px !important;
        border-radius: 999px !important;
        background: rgba(37, 99, 235, 0.08) !important;
        border: 1px solid rgba(37, 99, 235, 0.22) !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.06em !important;
        color: #2563EB !important;
        margin-bottom: 8px !important;
    }
    html[data-theme="dark"] .rima-studio-badge {
        background: rgba(0, 229, 255, 0.1) !important;
        border-color: rgba(0, 229, 255, 0.3) !important;
        color: #00E5FF !important;
    }
    .rima-studio-badge .pulse-dot {
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        background: #10B981 !important;
        box-shadow: 0 0 8px #10B981 !important;
        display: inline-block !important;
    }
    .rima-studio-main-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1.3rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        margin: 0 0 5px 0 !important;
        line-height: 1.25 !important;
    }
    html[data-theme="dark"] .rima-studio-main-title {
        color: #FFFFFF !important;
    }
    .rima-studio-sub-desc {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.86rem !important;
        color: #64748B !important;
        margin: 0 !important;
        line-height: 1.45 !important;
    }
    html[data-theme="dark"] .rima-studio-sub-desc {
        color: #94A3B8 !important;
    }

    /* Top Language Segmented Tabs */
    .rima-studio-lang-segmented {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 18px !important;
        background: #F1F5F9 !important;
        padding: 5px !important;
        border-radius: 18px !important;
        border: 1px solid #E2E8F0 !important;
    }
    html[data-theme="dark"] .rima-studio-lang-segmented {
        background: #131E3A !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    .rima-studio-lang-tab {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 4px !important;
        border-radius: 14px !important;
        border: 1.5px solid transparent !important;
        background: transparent !important;
        cursor: pointer !important;
        transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
        user-select: none !important;
        text-align: center !important;
    }
    .rima-studio-lang-tab .tab-flag-wrap img {
        border-radius: 4px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
        display: block !important;
        margin: 0 auto 5px auto !important;
    }
    .rima-studio-lang-tab .tab-title {
        display: block !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.86rem !important;
        font-weight: 800 !important;
        color: #334155 !important;
        line-height: 1.2 !important;
    }
    html[data-theme="dark"] .rima-studio-lang-tab .tab-title {
        color: #CBD5E1 !important;
    }
    .rima-studio-lang-tab .tab-micro {
        display: block !important;
        font-size: 0.64rem !important;
        font-weight: 700 !important;
        color: #64748B !important;
        margin-top: 2px !important;
    }
    html[data-theme="dark"] .rima-studio-lang-tab .tab-micro {
        color: #94A3B8 !important;
    }
    .rima-studio-lang-tab.active {
        background: #FFFFFF !important;
        border-color: #2563EB !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14) !important;
        transform: translateY(-1px) !important;
    }
    html[data-theme="dark"] .rima-studio-lang-tab.active {
        background: #1E293B !important;
        border-color: #00E5FF !important;
        box-shadow: 0 4px 16px rgba(0, 229, 255, 0.2) !important;
    }
    .rima-studio-lang-tab.active .tab-title {
        color: #1D4ED8 !important;
    }
    html[data-theme="dark"] .rima-studio-lang-tab.active .tab-title {
        color: #00E5FF !important;
    }

    /* Controls Panel */
    .rima-studio-controls-panel {
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 18px !important;
        padding: 16px !important;
        margin-bottom: 20px !important;
    }
    html[data-theme="dark"] .rima-studio-controls-panel {
        background: rgba(19, 30, 58, 0.6) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    .rima-studio-ctrl-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .ctrl-group-label {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        color: #334155 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em !important;
    }
    html[data-theme="dark"] .ctrl-group-label {
        color: #CBD5E1 !important;
    }
    .ctrl-badge {
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        background: #2563EB !important;
        color: #FFFFFF !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    html[data-theme="dark"] .ctrl-badge {
        background: #00E5FF !important;
        color: #0B132B !important;
    }

    /* Chip Buttons Row */
    .rima-studio-chips-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .rima-chip-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 4px !important;
        border-radius: 12px !important;
        background: #FFFFFF !important;
        border: 1.5px solid #CBD5E1 !important;
        cursor: pointer !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        text-align: center !important;
    }
    html[data-theme="dark"] .rima-chip-btn {
        background: #0B132B !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
    }
    .rima-chip-btn .chip-main {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        line-height: 1.2 !important;
    }
    html[data-theme="dark"] .rima-chip-btn .chip-main {
        color: #FFFFFF !important;
    }
    .rima-chip-btn .chip-sub {
        font-size: 0.66rem !important;
        font-weight: 700 !important;
        color: #64748B !important;
        margin-top: 2px !important;
    }
    html[data-theme="dark"] .rima-chip-btn .chip-sub {
        color: #94A3B8 !important;
    }
    .rima-chip-btn.active {
        background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
        border-color: #2563EB !important;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15) !important;
    }
    html[data-theme="dark"] .rima-chip-btn.active {
        background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%) !important;
        border-color: #00E5FF !important;
        box-shadow: 0 2px 10px rgba(0, 229, 255, 0.25) !important;
    }
    .rima-chip-btn.active .chip-main {
        color: #1D4ED8 !important;
    }
    html[data-theme="dark"] .rima-chip-btn.active .chip-main {
        color: #00E5FF !important;
    }

    /* Billing Switcher */
    .rima-studio-billing-switch {
        display: flex !important;
        gap: 6px !important;
        background: #E2E8F0 !important;
        padding: 4px !important;
        border-radius: 999px !important;
        margin-top: 14px !important;
    }
    html[data-theme="dark"] .rima-studio-billing-switch {
        background: rgba(15, 23, 42, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .rima-studio-billing-switch .rima-billing-opt {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        border-radius: 999px !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.76rem !important;
        font-weight: 800 !important;
        color: #475569 !important;
        border: none !important;
        background: transparent !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    html[data-theme="dark"] .rima-studio-billing-switch .rima-billing-opt {
        color: #94A3B8 !important;
    }
    .rima-studio-billing-switch .rima-billing-opt.active {
        background: #FFFFFF !important;
        color: #0F172A !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }
    html[data-theme="dark"] .rima-studio-billing-switch .rima-billing-opt.active {
        background: #00E5FF !important;
        color: #070D19 !important;
        box-shadow: 0 2px 8px rgba(0, 229, 255, 0.35) !important;
    }

    /* App Nav Bar & Progress */
    .rima-app-nav-bar {
        border-bottom: 1px solid #F1F5F9 !important;
        padding-bottom: 16px !important;
        margin-bottom: 20px !important;
    }
    html[data-theme="dark"] .rima-app-nav-bar {
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }
    .rima-app-nav-top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 12px !important;
    }
    .rima-app-branding {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .rima-app-icon-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
        border: 1px solid #BFDBFE !important;
        font-size: 1.1rem !important;
    }
    html[data-theme="dark"] .rima-app-icon-badge {
        background: rgba(37, 99, 235, 0.2) !important;
        border-color: rgba(37, 99, 235, 0.4) !important;
    }
    .rima-app-flow-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        color: #2563EB !important;
    }
    .rima-app-flow-subtitle {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
    }
    html[data-theme="dark"] .rima-app-flow-subtitle {
        color: #FFFFFF !important;
    }
    .rima-app-back-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 6px 12px !important;
        border-radius: 999px !important;
        border: 1px solid #CBD5E1 !important;
        background: #F8FAFC !important;
        color: #334155 !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    html[data-theme="dark"] .rima-app-back-btn {
        background: #1E293B !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        color: #E2E8F0 !important;
    }

    /* Progress bar */
    .rima-app-progress-track {
        width: 100% !important;
        height: 6px !important;
        background: #F1F5F9 !important;
        border-radius: 999px !important;
        overflow: hidden !important;
        margin-bottom: 14px !important;
    }
    html[data-theme="dark"] .rima-app-progress-track {
        background: rgba(255, 255, 255, 0.08) !important;
    }
    .rima-app-progress-bar {
        height: 100% !important;
        background: linear-gradient(90deg, #2563EB 0%, #00F2FE 100%) !important;
        border-radius: 999px !important;
        transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Steps Indicators */
    .rima-app-steps-indicators {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .rima-step-ind {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 6px 4px !important;
        border-radius: 8px !important;
        border: 1px solid transparent !important;
        background: transparent !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    .rima-step-ind .step-dot {
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        background: #E2E8F0 !important;
        color: #64748B !important;
        flex-shrink: 0 !important;
    }
    html[data-theme="dark"] .rima-step-ind .step-dot {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #94A3B8 !important;
    }
    .rima-step-ind .step-label {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        color: #64748B !important;
        white-space: nowrap !important;
    }
    html[data-theme="dark"] .rima-step-ind .step-label {
        color: #94A3B8 !important;
    }
    .rima-step-ind.active {
        background: #EFF6FF !important;
        border-color: #BFDBFE !important;
    }
    html[data-theme="dark"] .rima-step-ind.active {
        background: rgba(37, 99, 235, 0.18) !important;
        border-color: rgba(37, 99, 235, 0.35) !important;
    }
    .rima-step-ind.active .step-dot {
        background: #2563EB !important;
        color: #FFFFFF !important;
    }
    .rima-step-ind.active .step-label {
        color: #1D4ED8 !important;
        font-weight: 800 !important;
    }
    html[data-theme="dark"] .rima-step-ind.active .step-label {
        color: #60A5FA !important;
    }
    .rima-step-ind.completed .step-dot {
        background: #10B981 !important;
        color: #FFFFFF !important;
    }

    /* Screen Views with Fluid Top-Down Motion */
    .rima-app-screen {
        display: none !important;
        opacity: 0;
        transform: translateY(-12px);
    }
    .rima-app-screen.active {
        display: block !important;
        animation: rima-app-flow-down 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }
    @keyframes rima-app-flow-down {
        0% {
            opacity: 0;
            transform: translateY(-14px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .rima-screen-heading {
        margin-bottom: 18px !important;
    }
    .rima-screen-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: clamp(1.22rem, 4.6vw, 1.48rem) !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }
    html[data-theme="dark"] .rima-screen-title {
        color: #FFFFFF !important;
    }
    .rima-screen-desc {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.94rem !important;
        color: #334155 !important;
        line-height: 1.55 !important;
        margin-bottom: 0 !important;
    }
    html[data-theme="dark"] .rima-screen-desc {
        color: #CBD5E1 !important;
    }

    /* Step 1: Language Cards */
    .rima-app-lang-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    .rima-app-lang-card {
        background: #FFFFFF !important;
        border: 2px solid #E2E8F0 !important;
        border-radius: 18px !important;
        padding: 16px !important;
        cursor: pointer !important;
        transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
        position: relative !important;
    }
    html[data-theme="dark"] .rima-app-lang-card {
        background: #131E3A !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
    }
    .rima-app-lang-card:active,
    .rima-app-lang-card.active-pre {
        border-color: #2563EB !important;
        background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%) !important;
        box-shadow: 0 4px 18px rgba(37, 99, 235, 0.16) !important;
        transform: translateY(-2px) !important;
    }
    html[data-theme="dark"] .rima-app-lang-card:active,
    html[data-theme="dark"] .rima-app-lang-card.active-pre {
        background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%) !important;
        border-color: #3B82F6 !important;
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25) !important;
    }

    .lang-card-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 10px !important;
    }
    .lang-flag-wrap img {
        border-radius: 5px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.18) !important;
        display: block !important;
    }
    .lang-badge-chip {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.74rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.04em !important;
        padding: 4px 10px !important;
        border-radius: 999px !important;
    }
    .lang-badge-chip.gold {
        background: #FEF3C7 !important;
        color: #92400E !important;
        border: 1px solid #FCD34D !important;
    }
    .lang-badge-chip.cyan {
        background: #E0F2FE !important;
        color: #0369A1 !important;
        border: 1px solid #BAE6FD !important;
    }
    .lang-badge-chip.ruby {
        background: #FFE4E6 !important;
        color: #BE123C !important;
        border: 1px solid #FECDD3 !important;
    }

    .lang-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1.22rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        margin: 0 0 6px 0 !important;
    }
    html[data-theme="dark"] .lang-title {
        color: #FFFFFF !important;
    }
    .lang-desc {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.92rem !important;
        color: #334155 !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    html[data-theme="dark"] .lang-desc {
        color: #E2E8F0 !important;
    }
    .lang-perks {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
    }
    .lang-perk-item {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        color: #1D4ED8 !important;
        background: #EFF6FF !important;
        border: 1px solid #DBEAFE !important;
        padding: 4px 10px !important;
        border-radius: 6px !important;
    }
    html[data-theme="dark"] .lang-perk-item {
        background: rgba(37, 99, 235, 0.2) !important;
        color: #93C5FD !important;
        border-color: rgba(37, 99, 235, 0.4) !important;
    }
    .lang-card-action {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-top: 10px !important;
        border-top: 1px solid #F1F5F9 !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.88rem !important;
        font-weight: 800 !important;
        color: #2563EB !important;
    }
    html[data-theme="dark"] .lang-card-action {
        border-top-color: rgba(255, 255, 255, 0.08) !important;
        color: #60A5FA !important;
    }
    .lang-card-action .action-icon {
        font-size: 1.1rem !important;
        transition: transform 0.2s ease !important;
    }
    .rima-app-lang-card:hover .action-icon {
        transform: translateX(4px) !important;
    }

    /* Selected Language Pill */
    .rima-app-selected-lang-pill {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        background: #EFF6FF !important;
        border: 1px solid #BFDBFE !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
    }
    html[data-theme="dark"] .rima-app-selected-lang-pill {
        background: rgba(37, 99, 235, 0.15) !important;
        border-color: rgba(37, 99, 235, 0.35) !important;
    }
    .sel-lang-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .sel-flag-img {
        border-radius: 4px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
    }
    .sel-lang-eyebrow {
        display: block !important;
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        color: #2563EB !important;
    }
    html[data-theme="dark"] .sel-lang-eyebrow {
        color: #60A5FA !important;
    }
    .sel-lang-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1.08rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
    }
    html[data-theme="dark"] .sel-lang-title {
        color: #FFFFFF !important;
    }
    .sel-lang-change-btn {
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        border-radius: 999px !important;
        padding: 6px 12px !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        color: #0F172A !important;
        cursor: pointer !important;
    }
    html[data-theme="dark"] .sel-lang-change-btn {
        background: #1E293B !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: #F1F5F9 !important;
    }

    /* Section Boxes in Step 2 */
    .rima-app-section-box {
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 16px !important;
        padding: 16px !important;
    }
    html[data-theme="dark"] .rima-app-section-box {
        background: rgba(15, 23, 42, 0.6) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    .rima-section-box-title {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1.02rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        margin-bottom: 14px !important;
    }
    html[data-theme="dark"] .rima-section-box-title {
        color: #FFFFFF !important;
    }
    .sec-badge {
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        background: #2563EB !important;
        color: #FFFFFF !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.8rem !important;
        font-weight: 800 !important;
    }

    /* Level Cards */
    .rima-app-level-options {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .rima-app-level-card {
        background: #FFFFFF !important;
        border: 2px solid #E2E8F0 !important;
        border-radius: 14px !important;
        padding: 14px 16px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    html[data-theme="dark"] .rima-app-level-card {
        background: #131E3A !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    .rima-app-level-card.active {
        border-color: #2563EB !important;
        background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%) !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14) !important;
    }
    html[data-theme="dark"] .rima-app-level-card.active {
        background: #1E293B !important;
        border-color: #3B82F6 !important;
    }
    .lvl-card-top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 6px !important;
    }
    .lvl-pill {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.88rem !important;
        font-weight: 800 !important;
        padding: 4px 10px !important;
        border-radius: 6px !important;
        background: #EFF6FF !important;
        color: #1D4ED8 !important;
    }
    html[data-theme="dark"] .lvl-pill {
        background: rgba(37, 99, 235, 0.25) !important;
        color: #93C5FD !important;
    }
    .lvl-name {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.98rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
    }
    html[data-theme="dark"] .lvl-name {
        color: #FFFFFF !important;
    }
    .lvl-radio {
        width: 20px !important;
        height: 20px !important;
        border-radius: 50% !important;
        border: 2px solid #CBD5E1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .rima-app-level-card.active .lvl-radio {
        border-color: #2563EB !important;
    }
    .rima-app-level-card.active .lvl-radio .dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background: #2563EB !important;
    }
    .lvl-desc {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.88rem !important;
        color: #334155 !important;
        line-height: 1.45 !important;
        margin: 0 !important;
    }
    html[data-theme="dark"] .lvl-desc {
        color: #CBD5E1 !important;
    }

    /* Format Cards */
    .rima-app-fmt-options {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .rima-app-fmt-card {
        background: #FFFFFF !important;
        border: 2px solid #E2E8F0 !important;
        border-radius: 14px !important;
        padding: 14px 16px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        transition: all 0.2s ease !important;
    }
    html[data-theme="dark"] .rima-app-fmt-card {
        background: #131E3A !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    .rima-app-fmt-card.active {
        border-color: #2563EB !important;
        background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%) !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14) !important;
    }
    html[data-theme="dark"] .rima-app-fmt-card.active {
        background: #1E293B !important;
        border-color: #3B82F6 !important;
    }
    .fmt-card-icon {
        font-size: 1.6rem !important;
    }
    .fmt-card-info {
        flex: 1 !important;
    }
    .fmt-card-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1.02rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        margin-bottom: 3px !important;
    }
    html[data-theme="dark"] .fmt-card-title {
        color: #FFFFFF !important;
    }
    .fmt-card-sub {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.86rem !important;
        color: #334155 !important;
        line-height: 1.4 !important;
    }
    html[data-theme="dark"] .fmt-card-sub {
        color: #CBD5E1 !important;
    }
    .fmt-radio {
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        border: 2px solid #CBD5E1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .rima-app-fmt-card.active .fmt-radio {
        border-color: #2563EB !important;
    }
    .rima-app-fmt-card.active .fmt-radio .dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: #2563EB !important;
    }

    /* Screen 3: Summary Banner */
    .rima-app-summary-banner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 14px !important;
        background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
        border: 1px solid #BFDBFE !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
    }
    html[data-theme="dark"] .rima-app-summary-banner {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(30, 41, 59, 0.7) 100%) !important;
        border-color: rgba(37, 99, 235, 0.4) !important;
    }
    .sum-banner-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .sum-flag {
        font-size: 1.5rem !important;
    }
    .sum-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
    }
    html[data-theme="dark"] .sum-title {
        color: #FFFFFF !important;
    }
    .sum-meta {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.76rem !important;
        color: #475569 !important;
    }
    html[data-theme="dark"] .sum-meta {
        color: #CBD5E1 !important;
    }
    .sum-edit-btn {
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        border-radius: 999px !important;
        padding: 4px 10px !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: #0F172A !important;
        cursor: pointer !important;
    }
    html[data-theme="dark"] .sum-edit-btn {
        background: #1E293B !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        color: #E2E8F0 !important;
    }

    /* Billing Mode Switcher */
    .rima-app-billing-switch {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        background: #F1F5F9 !important;
        border: 1px solid #CBD5E1 !important;
        border-radius: 999px !important;
        padding: 4px !important;
        margin-bottom: 16px !important;
    }
    html[data-theme="dark"] .rima-app-billing-switch {
        background: #1E293B !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
    }
    .rima-billing-opt {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        border-radius: 999px !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        color: #64748B !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    html[data-theme="dark"] .rima-billing-opt {
        color: #94A3B8 !important;
    }
    .rima-billing-opt.active {
        background: #FFFFFF !important;
        color: #0F172A !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }
    html[data-theme="dark"] .rima-billing-opt {
        color: #CBD5E1 !important;
    }
    html[data-theme="dark"] .rima-billing-opt.active {
        background: #2563EB !important;
        color: #FFFFFF !important;
        box-shadow: 0 2px 10px rgba(37, 99, 235, 0.45) !important;
    }

    /* Duration Grid & Column-Stacked Cards */
    .rima-app-duration-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .rima-app-duration-grid .rhm-dur-interactive-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        background: #FFFFFF !important;
        border: 2px solid #E2E8F0 !important;
        border-radius: 18px !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: hidden !important;
        cursor: pointer !important;
        transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    html[data-theme="dark"] .rima-app-duration-grid .rhm-dur-interactive-card {
        background: #111A2E !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
    }

    .rima-app-duration-grid .rhm-dur-interactive-card.active-selected {
        border-color: #2563EB !important;
        background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%) !important;
        box-shadow: 0 6px 22px rgba(37, 99, 235, 0.16) !important;
    }

    html[data-theme="dark"] .rima-app-duration-grid .rhm-dur-interactive-card.active-selected {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, #0F172A 100%) !important;
        border-color: #38BDF8 !important;
        box-shadow: 0 6px 24px rgba(56, 189, 248, 0.25) !important;
    }

    .rhm-dur-card-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
        margin-bottom: 8px !important;
        box-sizing: border-box !important;
    }

    .rhm-dur-title-wrap {
        flex: 1 !important;
    }

    .rhm-dur-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        line-height: 1.25 !important;
        display: block !important;
    }

    html[data-theme="dark"] .rhm-dur-title {
        color: #FFFFFF !important;
    }

    .rhm-dur-price-wrap {
        text-align: right !important;
        flex-shrink: 0 !important;
    }

    .rhm-dur-card-body {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .featured-plan-card {
        border-color: #3B82F6 !important;
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.14) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    html[data-theme="dark"] .featured-plan-card {
        border-color: #00E5FF !important;
        box-shadow: 0 6px 25px rgba(0, 229, 255, 0.22) !important;
    }
    .rhm-plan-top-ribbon {
        background: linear-gradient(135deg, #2563EB, #00E5FF) !important;
        color: #040814 !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.82rem !important;
        font-weight: 900 !important;
        letter-spacing: 0.5px !important;
        padding: 8px 14px !important;
        margin: -16px -16px 12px -16px !important;
        width: calc(100% + 32px) !important;
        text-align: center !important;
        box-sizing: border-box !important;
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
    }
    .rhm-dur-unit-price {
        display: none !important;
    }
    .rhm-dur-main-price-row {
        display: flex !important;
        align-items: baseline !important;
        justify-content: flex-end !important;
        gap: 6px !important;
    }
    .rhm-dur-live-price {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1.55rem !important;
        font-weight: 900 !important;
        color: #2563EB !important;
        line-height: 1 !important;
    }
    html[data-theme="dark"] .rhm-dur-live-price {
        color: #38BDF8 !important;
    }
    .rhm-dur-old-price {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.86rem !important;
        color: #94A3B8 !important;
        text-decoration: line-through !important;
        margin-right: 4px !important;
    }
    html[data-theme="dark"] .rhm-dur-old-price {
        color: #64748B !important;
    }
    .rhm-dur-cadence-label {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: #475569 !important;
    }
    html[data-theme="dark"] .rhm-dur-cadence-label {
        color: #CBD5E1 !important;
    }
    .rhm-dur-sessions-info {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        color: #2563EB !important;
        margin: 6px 0 10px 0 !important;
        line-height: 1.4 !important;
    }
    html[data-theme="dark"] .rhm-dur-sessions-info {
        color: #60A5FA !important;
    }
    .rhm-plan-benefits-checklist {
        list-style: none !important;
        padding: 0 !important;
        margin: 12px 0 0 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        border-top: 1px dashed #E2E8F0 !important;
        padding-top: 12px !important;
    }
    html[data-theme="dark"] .rhm-plan-benefits-checklist {
        border-top-color: rgba(255, 255, 255, 0.12) !important;
    }
    .rhm-plan-benefits-checklist li {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        color: #1E293B !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    html[data-theme="dark"] .rhm-plan-benefits-checklist li {
        color: #E2E8F0 !important;
    }
    .rhm-plan-check {
        color: #10B981 !important;
        font-weight: 900 !important;
        font-size: 1.05rem !important;
        line-height: 1.2 !important;
        flex-shrink: 0 !important;
    }
    .rima-app-pay-bar {
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 14px !important;
        padding: 12px 14px !important;
    }
    html[data-theme="dark"] .rima-app-pay-bar {
        background: rgba(19, 30, 58, 0.6) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    .rima-pay-methods-title {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        color: #334155 !important;
        margin-bottom: 8px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
    }
    html[data-theme="dark"] .rima-pay-methods-title {
        color: #CBD5E1 !important;
    }
    .rima-pay-badges-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .rima-pay-pill {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        border-radius: 999px !important;
        padding: 5px 10px !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        color: #0F172A !important;
    }
    html[data-theme="dark"] .rima-pay-pill {
        background: #0B132B !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
        color: #F8FAFC !important;
    }
    .pill-dot {
        color: #10B981 !important;
        font-size: 0.75rem !important;
    }
    body.rima-courses-master-page #rima-mobile-bottom-nav {
        display: none !important;
    }

    /* Trust Perks */
    .rima-app-trust-box {
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 16px !important;
        padding: 14px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    html[data-theme="dark"] .rima-app-trust-box {
        background: rgba(15, 23, 42, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    .trust-box-item {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .trust-icon {
        font-size: 1.25rem !important;
        line-height: 1 !important;
        margin-top: 2px !important;
    }
    .trust-box-item strong {
        display: block !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.94rem !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        margin-bottom: 2px !important;
    }
    html[data-theme="dark"] .trust-box-item strong {
        color: #FFFFFF !important;
    }
    .trust-box-item p {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.86rem !important;
        color: #334155 !important;
        margin: 0 !important;
        line-height: 1.45 !important;
    }
    html[data-theme="dark"] .trust-box-item p {
        color: #CBD5E1 !important;
    }

    /* Primary Buttons inside App */
    .rima-app-btn-primary {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
        color: #FFFFFF !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        border: none !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        min-height: 48px !important;
    }
    .rima-app-btn-primary:active {
        transform: scale(0.98) !important;
    }

    .rima-app-btn-enroll {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 18px !important;
        background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
        color: #FFFFFF !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        border: none !important;
        border-radius: 14px !important;
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        min-height: 48px !important;
    }
    .rima-app-btn-enroll:active {
        transform: scale(0.98) !important;
    }
    .btn-price-bubble {
        background: rgba(255, 255, 255, 0.25) !important;
        padding: 5px 12px !important;
        border-radius: 999px !important;
        font-size: 0.94rem !important;
        font-weight: 800 !important;
    }

    /* Floating Bottom Action Bar */
    .rima-app-floating-bottom-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 18px max(14px, env(safe-area-inset-bottom)) 18px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    }
    html[data-theme="dark"] .rima-app-floating-bottom-bar {
        background: rgba(11, 19, 43, 0.96) !important;
        border-top-color: rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.35) !important;
    }

    .app-bottom-info {
        display: flex !important;
        flex-direction: column !important;
    }
    .app-bottom-summary {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .app-bottom-flag {
        font-size: 1.25rem !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .app-bottom-text {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.9rem !important;
        font-weight: 800 !important;
        color: #1E293B !important;
        line-height: 1.2 !important;
    }
    html[data-theme="dark"] .app-bottom-text {
        color: #E2E8F0 !important;
    }
    .app-bottom-price-box {
        display: flex !important;
        align-items: baseline !important;
        gap: 6px !important;
    }
    .app-bottom-old-price {
        font-family: 'Inter', system-ui, sans-serif !important;
        font-size: 0.85rem !important;
        color: #94A3B8 !important;
        text-decoration: line-through !important;
    }
    .app-bottom-price {
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 1.25rem !important;
        font-weight: 900 !important;
        color: #2563EB !important;
    }
    html[data-theme="dark"] .app-bottom-price {
        color: #38BDF8 !important;
    }

    .app-bottom-cta-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 22px !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
        color: #FFFFFF !important;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        min-height: 44px !important;
    }
    .app-bottom-cta-btn:active {
        transform: scale(0.96) !important;
    }
}

/* ==========================================================================
   ENHANCED MOBILE RESPONSIVENESS, READABILITY & TOUCH TARGETS (2026)
   ========================================================================== */
@media (max-width: 768px) {
    /* Touch target comfort across all mobile buttons & links */
    .rima-btn,
    .rhm-apple-primary-cta,
    .rhm-pathway-tab,
    .rhm-gl-chip,
    .rc-topic-pill,
    .rima-chip-btn {
        -webkit-tap-highlight-color: transparent !important;
        cursor: pointer !important;
    }

    .rima-btn:active,
    .rhm-apple-primary-cta:active,
    .rhm-pathway-tab:active,
    .rhm-gl-chip:active {
        transform: scale(0.97) !important;
    }

    /* Pathway accordion tap comfort */
    .rhm-pathway-tab {
        min-height: 52px !important;
        padding: 12px 14px !important;
    }

    /* Clear, comfortable typography */
    .rhm-section-title {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important;
        line-height: 1.25 !important;
        letter-spacing: -0.02em !important;
    }

    .rhm-section-p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Course cards tap clarity */
    .rhm-apple-card {
        border-radius: 20px !important;
    }

    .rhm-apple-card-title {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }
}



