/* Professional Mode: Ultra-Modern 2025 Design with Light/Dark Mode */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Color Variables - Dark Theme Only (No White Backgrounds) */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-hover: #252525;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-primary: #10b981;
    --accent-secondary: #34d399;
    --accent-hover: #059669;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-orange: #f97316;
    --accent-yellow: #eab308;
    --border: #2d2d2d;
    --border-hover: #3d3d3d;
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-hover: rgba(0, 0, 0, 0.7);
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #34d399 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #ec4899 100%);
    --gradient-text: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --border-color: rgba(16, 185, 129, 0.2);
    --border-color-hover: rgba(16, 185, 129, 0.5);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    font-family: 'Space Grotesk', 'Outfit', 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background: var(--bg-primary);
    background-attachment: fixed;
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: 500;
}

/* Animated Gradient Background */
.gradient-bg {
    background: linear-gradient(-45deg, #0a0a0a, #111111, #1a1a1a, #0f0f1a, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientShift 25s ease infinite;
    opacity: 1;
}

/* Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 30% 90%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Typography Enhancements */
h1, h2, h3, .section-title-modern {
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.score-value, .stat-value {
    font-family: 'DM Sans', 'Space Grotesk', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.btn-modern, button {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.professional-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Advanced Animations */
@keyframes widgetFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(40px) scale(0.95); 
        filter: blur(10px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
        filter: blur(0);
    }
}

@keyframes widgetPulse {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3), 
                    0 0 60px rgba(168, 85, 247, 0.1);
    }
    50% { 
        box-shadow: 0 12px 48px rgba(99, 102, 241, 0.5), 
                    0 0 80px rgba(168, 85, 247, 0.2);
    }
}

@keyframes buttonGlow {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
    }
    50% { 
        box-shadow: 0 8px 32px rgba(168, 85, 247, 0.6),
                    0 0 40px rgba(99, 102, 241, 0.4);
    }
}

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

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

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideOutRight {
    from { 
        opacity: 1; 
        transform: translateX(0); 
    }
    to { 
        opacity: 0; 
        transform: translateX(50px); 
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.8); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* Header - Modern Glassmorphism with Transparency */
.pro-header {
    background: rgba(17, 17, 17, 0.4); /* Semi-transparent dark background */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2); /* Subtle green border */
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1),
                0 0 40px rgba(16, 185, 129, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s ease;
}

/* Hover effect for header */
.pro-header:hover {
    background: rgba(17, 17, 17, 0.5);
    border-bottom-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15),
                0 0 50px rgba(16, 185, 129, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-section h1 {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
}

.logo-section h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    border-radius: 2px;
}

.mode-badge {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.15));
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.header-actions {
    display: flex;
    gap: 1rem;
    animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1);
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

/* Theme Toggle Button */
.btn-theme-toggle {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-theme-toggle:active {
    transform: translateY(0);
}

.theme-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-theme-toggle:hover .theme-icon {
    transform: rotate(20deg) scale(1.1);
}

.btn-mode-switch {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    animation: buttonGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.btn-mode-switch:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-mode-switch:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Main Dashboard */
.pro-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

section {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md),
                0 0 60px rgba(14, 165, 233, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: widgetFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.5), transparent);
}

section:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg),
                0 0 80px rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Score Overview */
.score-overview {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
    background: none;
}

.score-card {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 8px 32px #23272A88, 0 1.5px 8px #00CFFF33;
    border-radius: 14px;
    padding: 2em 1.2em;
    margin: 0.5em;
    border: 1.5px solid #00CFFF;
    background-clip: padding-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    min-height: 120px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-align: center;
    animation: widgetFadeIn 0.9s cubic-bezier(.4,1.4,.6,1) backwards;
    animation-delay: 0.2s;
    backdrop-filter: blur(16px) saturate(120%);
    color: #FFFFFF;
}
.score-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px #00CFFF55, 0 2px 12px #A259FF44;
    border-color: #A259FF;
}

.glass {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 4px 32px #00CFFF22, 0 1.5px 8px #A259FF22;
    border: 1.5px solid #FFD70044;
    backdrop-filter: blur(18px) saturate(140%);
    color: #FFFFFF;
}

.radial-meter-card {
    overflow: visible;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

.score-card.primary {
    background: linear-gradient(135deg, #23272A 0%, #1A1A2E 100%);
    border: 2px solid #00CFFF;
    color: #00CFFF;
    box-shadow: 0 8px 40px #A259FF44, 0 2px 12px #FFD70033;
    border-radius: 18px;
    transition: box-shadow 0.3s, background 0.3s;
    padding: 2.5em 2em 2em 2em;
    position: relative;
    overflow: hidden;
    animation: widgetPulse 2.5s infinite;
}

.score-label {
    font-size: 1.15em;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.2em;
    letter-spacing: 1px;
    text-shadow: none;
}

.score-value {
    font-size: 3.2em;
    font-weight: 800;
    margin: 0.3em 0 0.2em 0;
    color: #00CFFF;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #3be8b044, 0 1px 2px #eebd8944;
    transition: color 0.3s, text-shadow 0.3s;
}

.score-value.small {
    font-size: 2.5rem;
}

.score-change {
    font-size: 1.1em;
    color: #A259FF;
    margin-top: 0.2em;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px #eebd8922;
    transition: color 0.3s, text-shadow 0.3s;
}

.change-arrow {
    font-size: 1.2rem;
}

.change-period {
    color: #00FFB2;
}

.score-sublabel {
    font-size: 0.85rem;
    color: #B0B3B8;
    margin-top: 0.5rem;
}

/* XAI Factors - Modern Cards */
.xai-factors {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#xai-factors {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    #xai-factors {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Old factor-card styles - kept for backward compatibility but factor-card-modern takes precedence */
.factor-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: widgetFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.factor-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
}

.factor-card.positive::before {
    background: linear-gradient(180deg, #10b981, #34d399);
}

.factor-card.negative::before {
    background: linear-gradient(180deg, #ef4444, #f87171);
}

.factor-card.neutral::before {
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.factor-card:hover {
    transform: translateX(4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.factor-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.factor-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.4));
    animation: float 3s ease-in-out infinite;
}

.factor-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    flex-grow: 1;
}

.factor-impact {
    font-weight: 700;
    font-size: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.factor-card.positive .factor-impact {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.3);
}

.factor-card.negative .factor-impact {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error-color);
    border-color: rgba(239, 68, 68, 0.3);
}

.factor-card.neutral .factor-impact {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info-color);
    border-color: rgba(59, 130, 246, 0.3);
}

.factor-bar {
    width: 100%;
    height: 10px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 5px;
    margin: 0.75rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(14, 165, 233, 0.1);
}

body.dark-mode .factor-bar {
    background: rgba(15, 23, 42, 0.6);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}


.factor-bar-fill {
    height: 100%;
    border-radius: 5px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.factor-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.factor-card.positive .factor-bar-fill {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.factor-card.negative .factor-bar-fill {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.factor-card.neutral .factor-bar-fill {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.factor-explanation {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.75rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Simulator - Clean Modern Design */
.simulator-section {
    margin-bottom: 2rem;
}

.simulator-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    animation: widgetFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.simulator-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.sim-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.sim-control:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.sim-control label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.sim-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sim-value {
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.1rem;
}

input[type="range"],
select {
    width: 100%;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

input[type="range"] {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, 
        var(--accent-primary) 0%, 
        var(--accent-secondary) 50%, 
        var(--accent-tertiary) 100%);
    opacity: 0.3;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: opacity 0.2s ease;
}

input[type="range"]:hover {
    opacity: 0.5;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2),
                0 4px 12px rgba(14, 165, 233, 0.3);
    transition: all 0.2s ease;
    border: 3px solid white;
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.3),
                0 6px 16px rgba(14, 165, 233, 0.4);
    transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2),
                0 4px 12px rgba(14, 165, 233, 0.3);
}

select {
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

select:hover,
select:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.sim-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

.simulator-results {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sim-result-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: widgetFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sim-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.sim-result-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.sim-result-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sim-result-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 12px rgba(14, 165, 233, 0.3));
    transition: all 0.3s ease;
    line-height: 1;
}

.sim-result-value.current {
    color: var(--text-primary);
}

.sim-result-value.projected {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 12px rgba(16, 185, 129, 0.3));
}

.sim-arrow {
    font-size: 2.5rem;
    color: var(--accent-primary);
    animation: float 2s ease-in-out infinite;
    font-weight: bold;
}

.sim-change-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
    grid-column: 1 / -1;
}

.sim-change-icon {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.sim-change-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.sim-change-badge.positive {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.05));
    border-color: rgba(16, 185, 129, 0.3);
}

.sim-change-badge.positive .sim-change-icon {
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.5));
}

.sim-change-badge.positive .sim-change-text {
    color: var(--success-color);
}

/* Action Plan - Modern Task Cards */
.action-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.action-item {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: widgetFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    position: relative;
    overflow: hidden;
}

.action-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.action-item:hover::before {
    width: 8px;
}

.action-item.high-impact::before {
    background: linear-gradient(180deg, #f59e0b, #ef4444);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.action-item.medium-impact::before {
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
}

.action-item.low-impact::before {
    background: linear-gradient(180deg, #64748b, #475569);
}

.action-item:hover {
    transform: translateX(8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md),
                0 0 40px rgba(14, 165, 233, 0.15);
}

.action-priority {
    flex-shrink: 0;
}

.priority-badge {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.1));
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
    white-space: nowrap;
}

.action-item.high-impact .priority-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.1));
    color: var(--warning-color);
    border-color: rgba(245, 158, 11, 0.3);
}

.action-item.medium-impact .priority-badge {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.1));
    color: var(--accent-primary);
    border-color: rgba(14, 165, 233, 0.3);
}

.action-item.low-impact .priority-badge {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(71, 85, 105, 0.1));
    color: var(--text-secondary);
    border-color: rgba(100, 116, 139, 0.3);
}

.action-content {
    flex-grow: 1;
}

.action-content h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.action-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.action-timeline {
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-action {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex-shrink: 0;
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md),
                0 0 40px rgba(14, 165, 233, 0.3);
}

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

.btn-action:active {
    transform: translateY(0);
}

/* Data Sources - Sleek Cards */
.data-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.data-source-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    animation: widgetFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-source-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.data-source-card.connected::before {
    background: linear-gradient(180deg, #10b981, #34d399);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.data-source-card.disconnected::before {
    background: linear-gradient(180deg, #f59e0b, #ef4444);
}

.data-source-card:hover {
    transform: translateX(4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.source-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 12px rgba(14, 165, 233, 0.4));
    animation: float 3s ease-in-out infinite;
}

.source-info {
    flex-grow: 1;
}

.source-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

/* ZKP Section */
.zkp-section,
.zkp-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-zkp {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.1));
    color: var(--text-primary);
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.btn-zkp:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.zkp-status {
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .score-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pro-header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1.5rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .header-actions button {
        width: 100%;
    }
    
    .score-overview {
        grid-template-columns: 1fr;
    }
    
    .action-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-action {
        width: 100%;
    }
}

/* Additional Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5),
                0 0 40px rgba(168, 85, 247, 0.3);
}

.pulse-animation {
    animation: widgetPulse 3s ease-in-out infinite;
}

/* Quick Stats Dashboard - New Animated Widgets */
.quick-stats-section {
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.stat-widget {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    position: relative;
    overflow: hidden;
}

.stat-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-widget:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg),
                0 0 60px rgba(14, 165, 233, 0.2);
}

.stat-widget:hover::before {
    opacity: 1;
}

.stat-widget:nth-child(1) { animation-delay: 0.1s; }
.stat-widget:nth-child(2) { animation-delay: 0.2s; }
.stat-widget:nth-child(3) { animation-delay: 0.3s; }
.stat-widget:nth-child(4) { animation-delay: 0.4s; }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.stat-content {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.4));
}

.stat-value::after {
    content: '%';
    font-size: 1.25rem;
    margin-left: 0.25rem;
    opacity: 0.7;
}

.stat-widget:nth-child(2) .stat-value::after,
.stat-widget:nth-child(3) .stat-value::after {
    content: '';
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.stat-trend {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 0.5rem;
}

.stat-trend.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #86efac;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-trend.neutral {
    background: rgba(59, 130, 246, 0.2);
    color: #7dd3fc;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.stat-trend.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Progress Bar Widget */
.progress-widget {
    margin-top: 2rem;
}

.progress-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-title {
    font-size: 1rem;
    color: #e0e7ff;
    font-weight: 600;
}

.progress-percentage {
    font-size: 0.875rem;
    color: #a78bfa;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Plaid Account Cards - Theme Aware */
.plaid-section-title {
    margin-bottom: 0.5em;
    color: var(--text-primary);
    font-size: 1.3em;
    font-weight: 600;
}

.plaid-accounts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.plaid-account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25em;
    min-width: 240px;
    flex: 1;
    max-width: 350px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease-out;
}

.plaid-account-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

.plaid-account-name {
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 0.5em;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.plaid-account-type {
    color: var(--accent-primary);
    font-size: 0.9em;
    margin-bottom: 0.4em;
    font-weight: 500;
}

.plaid-account-mask {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 0.6em;
}

.plaid-mask-number {
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-weight: 600;
}

.plaid-account-balance {
    margin-top: 0.8em;
    padding-top: 0.8em;
    border-top: 1px solid var(--border-color);
    font-size: 1.2em;
    font-weight: 700;
    color: var(--color-success);
    letter-spacing: 0.5px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quest Widget Styles */
.quest-widget-section {
    margin: 3em 0;
    padding: 2em;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.btn-quest-widget {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 1em 2.5em;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-quest-widget::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-quest-widget:hover::before {
    width: 300px;
    height: 300px;
}

.btn-quest-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4);
}

.btn-quest-widget:active {
    transform: translateY(-2px);
}

/* Quest Widget Modal */
.quest-widget-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
}

.quest-widget-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em;
}

.quest-widget-content {
    background: var(--bg-card);
    border-radius: 24px;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.quest-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2em;
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
}

.quest-widget-header h2 {
    font-size: 2em;
    margin: 0 0 0.5em 0;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quest-widget-header p {
    color: var(--text-secondary);
    margin: 0;
}

.quest-widget-close {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quest-widget-close:hover {
    background: var(--error-color);
    border-color: var(--error-color);
    color: #fff;
    transform: rotate(90deg);
}

.quest-widget-body {
    padding: 2em;
    overflow-y: auto;
    flex: 1;
}

/* Quest Stats Bar */
.quest-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    margin-bottom: 2em;
}

.quest-stat {
    background: var(--bg-secondary);
    padding: 1.5em;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.quest-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.quest-stat:hover::before {
    left: 100%;
}

.quest-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.quest-stat-icon {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.quest-stat-value {
    font-size: 2em;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.3em;
}

.quest-stat-label {
    font-size: 0.9em;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quest List Container */
.quest-list-container {
    display: grid;
    gap: 1.5em;
}

.quest-loading {
    text-align: center;
    padding: 4em 2em;
    color: var(--text-secondary);
}

.quest-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1em;
}

/* Gamified Quest Cards */
.quest-card-gamified {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2em;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.quest-card-gamified::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
    transition: width 0.3s;
}

.quest-card-gamified.high-impact::before {
    background: linear-gradient(180deg, #ef4444, #f59e0b);
}

.quest-card-gamified.medium-impact::before {
    background: linear-gradient(180deg, #f59e0b, #eab308);
}

.quest-card-gamified.low-impact::before {
    background: linear-gradient(180deg, #10b981, #34d399);
}

.quest-card-gamified:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.quest-card-gamified:hover::before {
    width: 6px;
}

.quest-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5em;
    margin-bottom: 1.5em;
}

.quest-card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
    flex-shrink: 0;
}

.quest-card-info {
    flex: 1;
}

.quest-card-title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 0.5em 0;
    color: var(--text-primary);
}

.quest-card-badges {
    display: flex;
    gap: 0.8em;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.quest-badge {
    padding: 0.4em 1em;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
}

.quest-badge.high {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: #ef4444;
}

.quest-badge.medium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: #f59e0b;
}

.quest-badge.low {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: #10b981;
}

.quest-card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.quest-card-rewards {
    display: flex;
    gap: 1.5em;
    margin-bottom: 1.5em;
    padding: 1em;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 12px;
}

.quest-reward {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.9em;
}

.quest-reward-icon {
    font-size: 1.5em;
}

.quest-reward-text {
    color: var(--text-secondary);
}

.quest-reward-value {
    font-weight: 700;
    color: var(--accent-primary);
}

.quest-card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quest-card-status {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.quest-card-btn {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.8em 2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.quest-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.quest-card-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Additional utility classes */
.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color-hover);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.btn-modern {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-modern:active {
    transform: translateY(0);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}

.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.text-white {
    color: #ffffff;
}

.text-gray-400 {
    color: var(--text-secondary);
}

.text-sm {
    font-size: 0.875rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modern Glassmorphism - Dark Mode Only */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(16, 185, 129, 0.1),
        rgba(52, 211, 153, 0.1),
        transparent);
    transition: left 0.6s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.glass-card:hover::after {
    opacity: 1;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.6),
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(-4px) scale(1.01);
}

.glass-card input,
.glass-card select,
.glass-card button {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Range Input Styling - Enhanced for Dark Mode */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-hover);
    outline: none;
    position: relative;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto !important;
    margin: 0;
    padding: 0;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-hover);
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #06b6d4 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    border: 2px solid var(--bg-card);
    transition: all 0.2s ease;
    margin-top: -6px;
    position: relative;
    z-index: 20;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.3);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.8);
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-hover);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #06b6d4 100%);
    cursor: pointer;
    border: 2px solid var(--bg-card);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
}

input[type="range"]::-moz-range-thumb:active {
    transform: scale(1.3);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.8);
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 4px 12px rgba(16, 185, 129, 0.6);
}

/* Select Styling - Enhanced for Dark Mode */
select {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

select:hover {
    border-color: var(--border-hover);
    background: var(--bg-hover);
}

select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

select option {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px;
}

/* Floating Animation */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hover Scale */
.hover-scale {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hover-scale:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px var(--shadow-hover), 0 4px 8px var(--shadow);
    border-color: var(--border-hover);
}

/* Score Card Modern */
.score-card-modern {
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 36px;
    position: relative;
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.score-card-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.score-card-modern:hover::after {
    opacity: 1;
}

.score-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.score-card-modern:hover::before {
    transform: scaleX(1);
}

.score-card-modern:hover {
    box-shadow: 
        0 20px 64px rgba(0, 0, 0, 0.6),
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(-6px) scale(1.01);
    border-color: var(--border-hover);
}

/* Custom Shaped Stat Widgets */
.stat-widget-modern {
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--border);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0% 0%, 95% 0%, 100% 10%, 100% 100%, 5% 100%, 0% 90%);
}

.stat-widget-modern:nth-child(1) {
    clip-path: polygon(10% 0%, 100% 0%, 100% 90%, 90% 100%, 0% 100%, 0% 10%);
}

.stat-widget-modern:nth-child(2) {
    clip-path: polygon(0% 10%, 10% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.stat-widget-modern:nth-child(3) {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 90%);
}

.stat-widget-modern:nth-child(4) {
    clip-path: polygon(0% 0%, 90% 0%, 100% 10%, 100% 100%, 0% 100%);
}

.stat-widget-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.stat-widget-modern:hover::before {
    transform: scaleX(1);
}

.stat-widget-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.stat-widget-modern:hover::after {
    opacity: 1;
}

.stat-widget-modern:hover {
    transform: translateY(-8px) scale(1.03) rotate(1deg);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.6),
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

/* Factor Card Modern - Enhanced to match design */
.factor-card-modern {
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.factor-card-modern:hover {
    transform: translateX(6px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.factor-icon-container {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.factor-icon-container span {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.factor-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-hover);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.factor-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* Quest Card Modern */
.quest-card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px var(--shadow), 0 1px 3px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.quest-card-modern:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px var(--shadow-hover), 0 3px 8px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-color: var(--border-hover);
}

/* MacBook-Style Curved Header */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 32px 18px 32px;
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
                0 0 60px rgba(16, 185, 129, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 16px;
    max-width: calc(100% - 32px);
}

.modern-header:hover {
    background: rgba(20, 20, 20, 0.85);
    border-bottom-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.4),
                0 0 80px rgba(16, 185, 129, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.modern-header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.modern-header-left {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 4px 8px;
    border-radius: 12px;
}

.modern-header-left:hover {
    background: rgba(16, 185, 129, 0.08);
    transform: translateX(2px);
}

.modern-header-logo {
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible;
    margin-right: 0;
    flex-shrink: 0;
}

.modern-header-logo svg,
.modern-header-logo img,
.eden-logo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.modern-header-logo::before {
    display: none;
}

.modern-header-left:hover .modern-header-logo {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.modern-header-left:hover .modern-header-logo svg {
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}

.modern-header-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    margin-left: -20px;
}

.modern-header-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    -webkit-text-stroke: 2px var(--text-primary);
    -webkit-text-fill-color: transparent;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
    font-family: 'Space Grotesk', 'Outfit', 'DM Sans', 'Inter', sans-serif;
    /* Outline text style - large, bold, outlined white text matching Canva design */
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-transform: uppercase;
}

.modern-header-mode {
    font-size: 0.65rem;
    color: #10b981;
    font-weight: 500;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.75;
}

.modern-header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-nav-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    position: relative;
    overflow: hidden;
}

.modern-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modern-nav-btn:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modern-nav-btn:hover::before {
    opacity: 1;
}

.modern-nav-btn-primary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 182, 212, 0.18));
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modern-nav-btn-primary:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(6, 182, 212, 0.28));
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.modern-nav-icon {
    font-size: 15px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.modern-nav-text {
    font-size: 0.8125rem;
    letter-spacing: -0.1px;
}

/* Section Title Modern */
.section-title-modern {
    font-size: 2.75rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    text-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Radial Progress Modern */
.radial-progress-modern {
    position: relative;
    width: 200px;
    height: 200px;
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes blob {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

.animation-delay-6000 {
    animation-delay: 6s;
}

/* Header Modern - Hide old header */
.header-modern {
    display: none;
}

.professional-container {
    margin-top: 0;
    padding-top: 0;
}

/* Responsive Header */
@media (max-width: 768px) {
    .modern-header {
        padding: 12px 20px 16px 20px;
        margin: 0 8px;
        max-width: calc(100% - 16px);
        border-radius: 0 0 20px 20px;
    }
    
    .modern-header-container {
        gap: 16px;
    }
    
    .modern-header-title {
        font-size: 0.95rem;
    }
    
    .modern-nav-text {
        display: none;
    }
    
    .modern-nav-btn {
        padding: 8px 14px;
    }
    
    .modern-header-logo {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}