
        /* Design Tokens */
        :root {
            --primary-indigo: #6366f1;
            --secondary-purple: #8b5cf6;
            --glass-white: rgba(255, 255, 255, 0.85);
            --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: #fbfbfc;
            color: #1e293b;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Glassmorphism Navbar */
        .custom-navbar {
            background-color: var(--glass-white) !important;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            z-index: 1030;
        }

        /* Brand & Typography */
        .fw-black { font-weight: 900 !important; }
        .brand-icon-well {
            width: 35px; height: 35px;
            background: var(--primary-indigo);
            color: white; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
        }
        .brand-text-gradient {
            background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800; font-size: 1.25rem;
        }

        /* Nav Links */
        .main-nav-links .nav-link {
            font-weight: 600; color: #64748b;
            padding: 0.5rem 1rem !important;
            transition: var(--transition-standard);
        }
        .main-nav-links .nav-link:hover { color: var(--primary-indigo); }
        .main-nav-links .nav-link.active { color: var(--primary-indigo); position: relative; }
        .main-nav-links .nav-link.active::after {
            content: ''; position: absolute; bottom: 0; left: 1rem; right: 1rem;
            height: 3px; background: var(--primary-indigo); border-radius: 10px;
        }

        /* User Profile */
        .user-nav-well {
            background: rgba(0, 0, 0, 0.03);
            border-radius: 50px;
            padding: 4px 12px 4px 4px !important;
            transition: var(--transition-standard);
        }
        .nav-avatar-circle {
            width: 32px; height: 32px;
            background: #f1f5f9;
            color: var(--primary-indigo);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
        }

        /* Main Viewport & Transitions */
        .main-viewport { flex: 1; position: relative; }
        .dashboard-canvas { background-color: #f8fafc; padding-bottom: 3rem; }
        .animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Toasts */
        .toast-container { margin-top: 70px; }
        .toast { min-width: 320px; border-radius: 1rem; }
        
        /* Floating Action Button */
        .btn-fab {
            position: fixed; bottom: 25px; right: 20px;
            width: 56px; height: 56px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            color: white; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.5rem; z-index: 1000;
            box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
        }

        /* Footer Pattern */
        .bg-light-soft {
            background-color: #f8fafc;
            background-image: radial-gradient(#e2e8f0 0.8px, transparent 0.8px);
            background-size: 24px 24px;
        }
        .social-icon-btn {
            width: 38px; height: 38px; background: white;
            border: 1px solid #e2e8f0; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            color: #64748b; transition: var(--transition-standard);
        }
        .social-icon-btn:hover {
            background: var(--primary-indigo); color: white;
            transform: translateY(-3px);
        }
        .pulse-heart { animation: heartPulse 2s infinite; display: inline-block; }
        @keyframes heartPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

        /* Dropdown Animation */
        .animate.slideIn { animation: slideIn 0.3s both; }
        @keyframes slideIn { from { transform: translateY(1rem); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        
        
/* Hero Typography */
.fw-black { font-weight: 900 !important; }
.tracking-tight { letter-spacing: -0.04em; }

/* Floating Blobs (Background) */
.floating-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
}
.blob-1 { top: -100px; right: -100px; }
.blob-2 { bottom: -100px; left: -100px; }

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.05);
}
.badge-text {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

/* Visual Container */
.hero-visual-wrapper {
    perspective: 1000px;
}
.main-image-container {
    border: 8px solid white;
    transform: rotate(2deg);
}
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.animate-bounce-slow {
    animation: bounce-slow 4s infinite ease-in-out;
}
.animate-bounce-slow-reverse {
    animation: bounce-slow 5s infinite ease-in-out reverse;
}

.hover-rotate-0:hover {
    transform: rotate(0deg) scale(1.02);
}

.hover-lift {
    transition: var(--transition-standard);
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3) !important;
}

/* Stat Row */
.hero-stats-row {
    max-width: fit-content;
}

/* New Design Tokens */
.bg-light-soft { background-color: #fbfbfc; }
.shadow-xs { box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.fw-black { font-weight: 900 !important; }

/* Question Cards */
.hover-lift-subtle:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.06) !important;
}

.hover-primary:hover { color: var(--primary-indigo) !important; }

.subject-row:hover { background-color: #f8fafc; }

/* Line Clamp for Body Text */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Glass Buttons */
.btn-white {
    background: #ffffff;
    color: #1e293b;
    border-color: #e2e8f0;
}
.btn-white:hover {
    background: #f8fafc;
    color: var(--primary-indigo);
}

/* Banner Container Logic */
.quiz-banner-container {
    background: #6366f1; /* Fallback */
    min-height: 450px;
}

/* Animated Mesh Gradient Background */
.mesh-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(at 0% 0%, #6366f1 0, transparent 50%), 
                radial-gradient(at 100% 0%, #a855f7 0, transparent 50%), 
                radial-gradient(at 100% 100%, #6366f1 0, transparent 50%), 
                radial-gradient(at 0% 100%, #8b5cf6 0, transparent 50%);
    opacity: 0.8;
}

/* Floating Glass Icons */
.floating-glass-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1;
}
.glass-icon-1 { top: 20%; left: 10%; }
.glass-icon-2 { bottom: 15%; right: 12%; }
.glass-icon-3 { top: 15%; right: 25%; width: 45px; height: 45px; font-size: 1.2rem; }

/* Typography Enhancements */
.hero-text-shadow {
    text-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.highlight-underline {
    border-bottom: 4px solid rgba(255,255,255,0.4);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float 6s ease-in-out 3s infinite; }

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Button & Utils */
.btn-white {
    background: white;
    color: #6366f1;
    border: none;
}
.btn-white:hover {
    background: #f8fafc;
    color: #4f46e5;
}
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Section Header Detail */
.header-line {
    width: 60px;
    height: 4px;
    background: var(--primary-indigo);
    border-radius: 10px;
    margin-top: 1rem;
}

/* Testimonial Card Logic */
.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.1);
}

/* Avatar Styling */
.avatar-well {
    padding: 3px;
    background: white;
    border-radius: 12px;
}

.avatar-text {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Floating Elements */
.quote-mark {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    pointer-events: none;
}

.testimonial-text {
    line-height: 1.7;
    font-style: italic;
    z-index: 1;
}

/* Responsive Offsets for Masonry-like look */
@media (min-width: 992px) {
    .mt-lg-4 {
        margin-top: 3rem !important;
    }
}

/* CTA Specific Layout */
.cta-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
    filter: blur(60px);
    z-index: 1;
}

/* Social Proof Avatars */
.avatar-tiny {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -8px;
}

/* Typography & Utils */
.fw-black { font-weight: 900 !important; }
.tracking-tight { letter-spacing: -0.04em; }
.tracking-widest { letter-spacing: 0.12em; }
.x-small { font-size: 0.7rem; }

/* Shadows & Interactions */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.25) !important;
}

/* Button Custom Colors */
.btn-white {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #475569;
}

/* Auth Wrapper & Blobs */
.auth-wrapper {
    min-height: calc(100vh - 150px);
    position: relative;
    overflow: hidden;
}

.auth-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}
.blob-primary { top: -10%; left: -10%; background: var(--primary-indigo); }
.blob-secondary { bottom: -10%; right: -10%; background: var(--secondary-purple); }

/* Glass Card */
.auth-glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Floating Label Tweaks */
.modern-form .form-floating > .form-control {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    height: 60px;
}

.modern-form .form-floating > label {
    padding-left: 1rem;
    font-size: 0.65rem;
    color: #94a3b8 !important;
}

/* Utils */
.fw-black { font-weight: 900 !important; }
.tracking-widest { letter-spacing: 0.12em; }
.x-small { font-size: 0.72rem; }

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.hover-lift-subtle:hover {
    transform: translateY(-2px);
    background-color: rgba(99, 102, 241, 0.15) !important;
}

/* Custom Checkbox */
.custom-check .form-check-input:checked {
    background-color: var(--primary-indigo);
    border-color: var(--primary-indigo);
}

/* Adjusting Form Layout for Side-by-Side inputs */
.modern-form .row .form-floating > label {
    padding-left: 0.75rem;
}

/* Ensuring focus states match brand colors */
.form-control:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.1) !important;
    border: 1px solid var(--primary-indigo) !important;
}

/* Validation styling */
.is-invalid {
    border: 1px solid #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.02) !important;
}

/* Auth Container Min Height for longer Register form */
.auth-wrapper {
    min-height: calc(100vh - 100px);
}
/* Search Input Styling */
.search-input-group {
    background: #ffffff;
    transition: var(--transition-standard);
    border: 1px solid transparent !important;
}

.search-input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-indigo) !important;
}

.search-input-group .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Suggestion Popover */
.suggestion-popover {
    border-top: 1px solid #f1f5f9 !important;
}

.cursor-pointer { cursor: pointer; }

/* Custom Select Arrow */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236366f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-size: 12px 10px;
}

.animate-slide-in {
    animation: slideInUp 0.3s ease-out forwards;
}

@keyframes slideInUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive adjustment */
@media (max-width: 991.98px) {
    .btn-lg { font-size: 0.9rem; }
}


/* New UI Components */
.bg-light-soft { background-color: #fbfbfc; }
.xx-small { font-size: 0.65rem; }
.uppercase { text-transform: uppercase; }

/* Avatar Well for Footer */
.avatar-well {
    padding: 2px;
    background: #f1f5f9;
    border-radius: 8px;
}
.avatar-mini {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Interaction Effects */
.hover-primary:hover { color: var(--primary-indigo) !important; }

/* Line Clamp - Essential for uniform grid */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    min-height: 4.5em; /* Keeps cards aligned even if text is short */
}

/* Empty State Detail */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08); }



    