                        :root {
                           --kinan-primary: #7c3aed;
                           --kinan-secondary: #a855f7;
                           --kinan-dark: #0f172a;
                       }
                       
                       body {
                           font-family: 'Space Grotesk', 'Inter', sans-serif;
                           background-color: #f8fafc;
                           color: #0f172a;
                       }
                       
                       html[dir="rtl"],
                       html[dir="rtl"] body {
                           font-family: 'Tajawal', 'Segoe UI', 'Arial', 'Tahoma', sans-serif;
                       }
                       
                       html[dir="rtl"] .material-symbols-outlined,
                       html[dir="rtl"] i.material-symbols-outlined,
                       html[dir="rtl"] span.material-symbols-outlined,
                       .material-symbols-outlined {
                           font-family: 'Material Symbols Outlined' !important;
                           direction: ltr !important;
                           font-feature-settings: 'liga' !important;
                           -webkit-font-smoothing: antialiased !important;
                           -moz-osx-font-smoothing: grayscale !important;
                           text-rendering: optimizeLegibility !important;
                       }
                       
                       @keyframes gradient-shift {
                           0%,
                           100% {
                               background-position: 0% 50%;
                           }
                           50% {
                               background-position: 100% 50%;
                           }
                       }
                       
                       .animated-gradient {
                           background: linear-gradient(-45deg, #ede9fe, #f5f3ff, #e0f2fe, #fef3c7);
                           background-size: 400% 400%;
                           animation: gradient-shift 15s ease infinite;
                       }
                       
                       #particles-canvas {
                           position: fixed;
                           top: 0;
                           left: 0;
                           width: 100%;
                           height: 100vh;
                           z-index: 0;
                           pointer-events: none;
                       }
                       
                       section {
                           position: relative;
                           z-index: 1;
                       }
                       
                       section>div[class*="relative"] {
                           position: relative;
                           z-index: 2;
                       }
                       
                       .glow {
                           box-shadow: 0 0 30px rgba(130, 44, 149, 0.3);
                           transition: box-shadow 0.3s ease;
                       }
                       
                       .glow:hover {
                           box-shadow: 0 0 50px rgba(130, 44, 149, 0.6);
                       }
                       /* Floating Animation with Rotation */
                       
                       @keyframes float-rotate {
                           0%,
                           100% {
                               transform: translateY(0px) rotate(0deg);
                           }
                           50% {
                               transform: translateY(-30px) rotate(5deg);
                           }
                       }
                       
                       .float-rotate {
                           animation: float-rotate 6s ease-in-out infinite;
                       }
                       /* Floating card animation (vertical only) */
                       
                       @keyframes float-card {
                           0%,
                           100% {
                               transform: translateY(0px);
                           }
                           50% {
                               transform: translateY(-18px);
                           }
                       }
                       
                       .animate-float {
                           animation: float-card 6s ease-in-out infinite;
                       }
                       /* Subtle pulse animation for alert card */
                       
                       @keyframes pulse-subtle {
                           0%,
                           100% {
                               opacity: 1;
                           }
                           50% {
                               opacity: 0.85;
                           }
                       }
                       
                       .animate-pulse-subtle {
                           animation: pulse-subtle 2.4s ease-in-out infinite;
                       }
                       /* Scale-in badge animation */
                       
                       @keyframes scale-in {
                           0% {
                               opacity: 0;
                               transform: scale(0.9);
                           }
                           100% {
                               opacity: 1;
                               transform: scale(1);
                           }
                       }
                       
                       .animate-scale-in {
                           animation: scale-in 0.6s ease-out forwards;
                       }
                       /* Text Reveal Animation - Start visible, GSAP will animate */
                       
                       .text-reveal {
                           opacity: 1;
                           transform: translateY(0);
                       }
                       /* Counter Animation - Start visible */
                       
                       .counter {
                           opacity: 1;
                       }
                       /* Glass Morphism */
                       
                       .glass {
                           background: rgba(255, 255, 255, 0.85);
                           backdrop-filter: blur(20px);
                           border: 1px solid rgba(148, 163, 184, 0.3);
                           box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
                       }
                       /* Animated Border */
                       
                       @keyframes border-pulse {
                           0%,
                           100% {
                               border-color: rgba(130, 44, 149, 0.3);
                           }
                           50% {
                               border-color: rgba(130, 44, 149, 0.8);
                           }
                       }
                       
                       .pulse-border {
                           animation: border-pulse 2s ease-in-out infinite;
                       }
                       /* Gradient Text */
                       
                       .gradient-text {
                           background: linear-gradient(135deg, #822C95 0%, #A256C3 50%, #9D4EDD 100%);
                           -webkit-background-clip: text;
                           -webkit-text-fill-color: transparent;
                           background-clip: text;
                           background-size: 200% auto;
                           animation: gradient-shift 3s linear infinite;
                       }
                       /* Hero Heading overrides */
                       
                       .hero-heading {
                           font-family: 'Space Grotesk', sans-serif;
                           font-size: clamp(2.25rem, 5vw, 3.75rem);
                           line-height: 1;
                           letter-spacing: -0.02em;
                       }
                       
                       html[dir="rtl"] .hero-heading {
                           font-family: 'Space Grotesk', sans-serif;
                           font-size: clamp(1.875rem, 5vw, 3rem);
                           line-height: 1;
                           letter-spacing: -0.02em;
                       }
                       /* Hover Card Scale */
                       
                       .hover-scale {
                           transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                       }
                       
                       .hover-scale:hover {
                           transform: scale(1.05);
                       }
                       /* Stagger Animation - Start visible */
                       
                       .stagger-item {
                           opacity: 1;
                           transform: translateY(0);
                       }
                       /* Scroll Progress */
                       
                       .scroll-progress {
                           position: fixed;
                           top: 0;
                           left: 0;
                           height: 4px;
                           background: linear-gradient(90deg, #822C95 0%, #A256C3 100%);
                           z-index: 9999;
                           transform-origin: left;
                           transform: scaleX(0);
                       }
                       /* Loading Animation */
                       
                       @keyframes spin {
                           to {
                               transform: rotate(360deg);
                           }
                       }
                       
                       @keyframes ripple {
                           to {
                               transform: scale(4);
                               opacity: 0;
                           }
                       }
                       
                       .ripple {
                           position: absolute;
                           border-radius: 50%;
                           background: rgba(130, 44, 149, 0.5);
                           animation: ripple 1s ease-out;
                       }
                       /* RTL Support Styles */
                       
                       html[dir="rtl"] {
                           direction: rtl !important;
                       }
                       
                       html[dir="rtl"] body {
                           text-align: right !important;
                           direction: rtl !important;
                       }
                       /* Override for Material Symbols - keep LTR */
                       
                       html[dir="rtl"] .material-symbols-outlined,
                       html[dir="rtl"] i.material-symbols-outlined,
                       html[dir="rtl"] span.material-symbols-outlined {
                           direction: ltr !important;
                       }
                       /* Text Alignment */
                       
                       html[dir="rtl"] .text-left {
                           text-align: right !important;
                       }
                       
                       html[dir="rtl"] .text-right {
                           text-align: right !important;
                       }
                       
                       html[dir="rtl"] .text-center {
                           text-align: center !important;
                       }
                       
                       html[dir="rtl"] [class*="text-center"] {
                           text-align: center !important;
                       }
                       
                       html[dir="rtl"] h1[class*="text-center"],
                       html[dir="rtl"] h2[class*="text-center"],
                       html[dir="rtl"] h3[class*="text-center"],
                       html[dir="rtl"] h4[class*="text-center"],
                       html[dir="rtl"] h5[class*="text-center"],
                       html[dir="rtl"] h6[class*="text-center"] {
                           text-align: center !important;
                       }
                       
                       html[dir="rtl"] h2[class*="text-center"] {
                           text-align: center !important;
                       }
                       
                       html[dir="rtl"] .inline-block[class*="text-center"],
                       html[dir="rtl"] .inline-flex[class*="text-center"] {
                           text-align: center !important;
                       }
                       
                       html[dir="rtl"] .stats-section,
                       html[dir="rtl"] .stats-section div,
                       html[dir="rtl"] .stats-section p {
                           text-align: center !important;
                       }
                       /* Keep navbar layout identical in LTR and RTL */
                       
                       html[dir="rtl"] nav {
                           direction: ltr !important;
                       }
                       
                       html[dir="rtl"] nav .flex.justify-between,
                       html[dir="rtl"] nav .flex.items-center.space-x-8,
                       html[dir="rtl"] nav .flex.items-center.space-x-3 {
                           flex-direction: row !important;
                       }
                       
                       html[dir="rtl"] nav .flex.items-center.space-x-8 {
                           gap: 2rem !important;
                       }
                       
                       html[dir="rtl"] nav .flex.items-center.space-x-3 {
                           gap: 0.75rem !important;
                       }
                       
                       html[dir="rtl"] nav .flex.items-center.space-x-8>*+*,
                       html[dir="rtl"] nav .flex.items-center.space-x-3>*+* {
                           margin-left: 0.75rem !important;
                           margin-right: 0 !important;
                       }
                       /* Hero section text alignment - Responsive classes */
                       
                       html[dir="rtl"] .lg\:text-left {
                           text-align: right !important;
                       }
                       
                       html[dir="rtl"] .sm\:text-left {
                           text-align: right !important;
                       }
                       
                       html[dir="rtl"] .md\:text-left {
                           text-align: right !important;
                       }
                       
                       html[dir="rtl"] .lg\:text-right {
                           text-align: right !important;
                       }
                       
                       html[dir="rtl"] .sm\:text-right {
                           text-align: right !important;
                       }
                       
                       html[dir="rtl"] .md\:text-right {
                           text-align: right !important;
                       }
                       /* Ensure CTA buttons have consistent width in RTL and LTR */
                       
                       #demo a[class*="bg-gradient-to-r"],
                       #demo a[href*="#"] {
                           display: inline-block;
                           width: auto;
                           min-width: fit-content;
                           max-width: none;
                       }
                       
                       html[dir="rtl"] #demo a[class*="bg-gradient-to-r"],
                       html[dir="rtl"] #demo a[href*="#"] {
                           display: inline-block;
                           width: auto;
                           min-width: fit-content;
                           max-width: none;
                       }
                       /* RTL: reverse inner flex rows within animation card */
                       
                       html[dir="rtl"] #hero-animation .flex.items-center.space-x-2 {
                           flex-direction: row-reverse !important;
                           align-items: center !important;
                       }
                       
                       html[dir="rtl"] #hero-animation .flex.items-center.space-x-3 {
                           flex-direction: row-reverse !important;
                           align-items: center !important;
                       }
                       
                       html[dir="rtl"] #trustBadge {
                           flex-direction: row-reverse !important;
                       }
                       /* RTL: align and flow inner blocks similar to LP rules */
                       
                       html[dir="rtl"] #hero-animation .space-y-4 {
                           text-align: right !important;
                           direction: rtl !important;
                       }
                       
                       html[dir="rtl"] #hero-animation .space-y-4>.flex {
                           flex-direction: row-reverse !important;
                           align-items: center !important;
                       }
                       
                       html[dir="rtl"] #hero-animation .ml-4 {
                           margin-left: 0 !important;
                           margin-right: 1rem !important;
                       }
                       
                       html[dir="rtl"] #hero-animation .inline-flex.items-center .ml-1 {
                           margin-left: 0 !important;
                           margin-right: 0.25rem !important;
                       }
                       
                       html[dir="rtl"] #hero-animation .flex.items-center .mr-1 {
                           margin-right: 0 !important;
                           margin-left: 0.25rem !important;
                       }
                       /* RTL: align hero text elements to the right */
                       
                       html[dir="rtl"] #hero-text,
                       html[dir="rtl"] #heroHeadline,
                       html[dir="rtl"] #heroSubtext,
                       html[dir="rtl"] #heroCTA {
                           text-align: right !important;
                       }
                       /* Stats section - keep centered */
                       
                       html[dir="rtl"] .text-center {
                           text-align: center !important;
                       }
                       /* Ensure all text content aligns right in RTL */
                       
                       html[dir="rtl"] * {
                           text-align: inherit;
                       }
                       
                       html[dir="rtl"] body *:not(.material-symbols-outlined):not(i):not(span.material-symbols-outlined) {
                           direction: rtl;
                       }
                       /* Override for specific elements that should remain centered */
                       
                       html[dir="rtl"] .text-center,
                       html[dir="rtl"] [class*="text-center"],
                       html[dir="rtl"] [class*="justify-center"] {
                           text-align: center !important;
                       }
                       /* List items */
                       
                       html[dir="rtl"] ul.list-disc {
                           padding-right: 1.5rem;
                           padding-left: 0;
                       }
                       /* Ensure all paragraphs and text blocks align right */
                       
                       html[dir="rtl"] p:not(.text-center),
                       html[dir="rtl"] div:not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] span:not(.material-symbols-outlined):not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] li:not(.text-center),
                       html[dir="rtl"] a:not(.text-center) {
                           text-align: right !important;
                       }
                       /* Headings alignment */
                       
                       html[dir="rtl"] h1:not(.text-center),
                       html[dir="rtl"] h3:not(.text-center),
                       html[dir="rtl"] h4:not(.text-center),
                       html[dir="rtl"] h5:not(.text-center),
                       html[dir="rtl"] h6:not(.text-center) {
                           text-align: right !important;
                       }
                       /* Feature card list items RTL alignment - matches list-disc behavior */
                       
                       html[dir="rtl"] .tilt-card ul {
                           text-align: right;
                           direction: rtl;
                           padding-right: 0;
                           padding-left: 0;
                       }
                       
                       html[dir="rtl"] .tilt-card ul li.flex {
                           flex-direction: row !important;
                           justify-content: flex-start;
                           align-items: center;
                           text-align: right;
                           direction: rtl;
                       }
                       
                       html[dir="rtl"] .tilt-card ul li.flex .mr-2 {
                           margin-right: 0.5rem !important;
                           margin-left: 0 !important;
                       }
                       
                       html[dir="rtl"] .tilt-card ul li.flex span.material-symbols-outlined {
                           display: flex;
                           align-items: center;
                           flex-shrink: 0;
                       }
                       
                       html[dir="rtl"] .tilt-card ul li {
                           text-align: right;
                       }
                       /* Feature card icon containers RTL alignment */
                       
                       html[dir="rtl"] .tilt-card .w-16.h-16.flex.items-center.justify-center {
                           margin-left: auto;
                           margin-right: 0;
                       }
                       
                       html[dir="rtl"] .tilt-card .tilt-card-inner {
                           text-align: right;
                       }
                       
                       html[dir="rtl"] .tilt-card h3,
                       html[dir="rtl"] .tilt-card p {
                           text-align: right;
                       }
                       /* Arrow icons - flip direction */
                       
                       html[dir="rtl"] .material-symbols-outlined[style*="transform"] {
                           transform: scaleX(-1);
                       }
                       /* Scroll progress bar */
                       
                       html[dir="rtl"] .scroll-progress {
                           left: 0 !important;
                           right: auto !important;
                           transform-origin: left !important;
                       }
                       /* Loading Overlay Styles */
                       
                       #loading-overlay {
                           position: fixed;
                           top: 0;
                           left: 0;
                           right: 0;
                           bottom: 0;
                           background-color: #ffffff;
                           display: flex;
                           justify-content: center;
                           align-items: center;
                           z-index: 99999;
                           opacity: 0;
                           pointer-events: none;
                           transition: opacity 0.3s ease;
                       }
                       
                       #loading-overlay.visible {
                           opacity: 1;
                           pointer-events: all;
                       }
                       
                       .loading-container {
                           display: flex;
                           flex-direction: column;
                           align-items: center;
                           gap: 1rem;
                       }
                       
                       .loading-text {
                           font-size: 0.875rem;
                           color: #6b7280;
                           font-weight: 500;
                           text-align: center;
                       }
                       
                       .loading-dots {
                           display: inline-block;
                       }
                       
                       .loading-dots span {
                           opacity: 0;
                           display: inline-block;
                       }
                       
                       .loading-dots .dot1 {
                           animation: dotBlink 1.2s infinite;
                       }
                       
                       .loading-dots .dot2 {
                           animation: dotBlink 1.2s infinite;
                       }
                       
                       .loading-dots .dot3 {
                           animation: dotBlink 1.2s infinite;
                       }
                       
                       @keyframes dotBlink {
                           0% {
                               opacity: 0;
                           }
                           50% {
                               opacity: 1;
                           }
                           100% {
                               opacity: 0;
                           }
                       }
                       /* RTL support for loading overlay */
                       
                       html[dir="rtl"] #loading-overlay {
                           left: 0;
                           right: 0;
                       }
                       
                       html[dir="rtl"] .loading-container {
                           direction: rtl;
                       }
                       /* Learning Paths Section RTL Fixes */
                       /* Prevent flex reversal for Learning Paths items - keep icons on left */
                       /* Keep LP container row direction and LTR flow in both locales */
                       /* Desktop only */
                       
                       @media (min-width: 1024px) {
                           html[dir="ltr"] #lp-container {
                               flex-direction: row !important;
                               direction: ltr !important;
                           }
                           html[dir="rtl"] #lp-container {
                               flex-direction: row !important;
                               direction: ltr !important;
                           }
                           /* LTR: animation left (natural order), text right (natural order) - no order needed */
                           /* RTL: text left, animation right */
                           html[dir="rtl"] #lp-text {
                               order: 1;
                           }
                           html[dir="rtl"] #lp-animation {
                               order: 2;
                           }
                       }
                       /* Mobile: Always column layout */
                       
                       @media (max-width: 1023px) {
                           #lp-container {
                               flex-direction: column !important;
                           }
                           #lp-text {
                               order: 1 !important;
                           }
                           #lp-animation {
                               order: 2 !important;
                           }
                       }
                       
                       html[dir="rtl"] #learning-paths .space-y-4>.flex {
                           flex-direction: row !important;
                       }
                       
                       html[dir="rtl"] #learning-paths .flex .ml-4 {
                           margin-left: 0 !important;
                           margin-right: 1rem !important;
                       }
                       
                       html[dir="rtl"] #learning-paths .inline-flex.items-center .ml-1 {
                           margin-left: 0 !important;
                           margin-right: 0.25rem !important;
                       }
                       
                       html[dir="rtl"] #learning-paths .flex.items-center .mr-1 {
                           margin-right: 0 !important;
                           margin-left: 0.25rem !important;
                       }
                       
                       html[dir="rtl"] #lp-animation .flex {
                           flex-direction: row-reverse !important;
                           align-items: center !important;
                       }
                       
                       html[dir="rtl"] #awareness .grid {
                           direction: rtl !important;
                       }
                       
                       html[dir="rtl"] #lp-animation .space-y-4 {
                           text-align: right !important;
                           direction: rtl !important;
                       }
                       
                       html[dir="rtl"] #lp-animation .space-y-4>.flex {
                           flex-direction: row-reverse !important;
                           align-items: center !important;
                       }
                       
                       html[dir="rtl"] #lp-animation .ml-4 {
                           margin-left: 0 !important;
                           margin-right: 1rem !important;
                       }
                       /* Progress bars - keep left alignment for visual consistency */
                       
                       html[dir="rtl"] #learning-paths .absolute.top-0.left-0 {
                           left: 0 !important;
                           right: auto !important;
                       }
                       /* Text alignment for Learning Paths section */
                       
                       html[dir="rtl"] #lp-animation {
                           text-align: right !important;
                       }
                       
                       html[dir="rtl"] #lp-animation p {
                           text-align: right !important;
                       }
                       /* Global RTL text alignment - ensure all content aligns right by default */
                       
                       html[dir="rtl"] {
                           text-align: right;
                       }
                       /* Ensure all text elements align right unless explicitly centered */
                       
                       html[dir="rtl"] p:not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] span:not(.material-symbols-outlined):not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] div:not(.text-center):not([class*="text-center"]):not([class*="flex"]):not([class*="grid"]),
                       html[dir="rtl"] li:not(.text-center),
                       html[dir="rtl"] td:not(.text-center),
                       html[dir="rtl"] th:not(.text-center) {
                           text-align: right !important;
                       }
                       /* Headings - align right unless centered */
                       
                       html[dir="rtl"] h1:not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] h2:not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] h3:not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] h4:not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] h5:not(.text-center):not([class*="text-center"]),
                       html[dir="rtl"] h6:not(.text-center):not([class*="text-center"]) {
                           text-align: right !important;
                       }
                       /* Ensure sections and articles have right alignment */
                       
                       html[dir="rtl"] section:not(.text-center),
                       html[dir="rtl"] article:not(.text-center) {
                           text-align: right;
                           direction: rtl;
                       }