/* Custom Glassmorphism & Animations */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-hover {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(30, 11, 66, 0.12), 0 18px 36px -18px rgba(0, 0, 0, 0.1);
}

.floating-card {
    box-shadow: 0 20px 40px -10px rgba(30, 11, 66, 0.05), 0 10px 20px -15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dark-card {
    background: #1E0B42;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}

.neon-border-violet {
    border-bottom: 3px solid #8B5CF6;
    box-shadow: 0 4px 15px -5px rgba(139, 92, 246, 0.5);
}

.premium-gradient-bg {
    background: linear-gradient(135deg, #FDFCFE 0%, #F5F3FF 100%);
}

.growth-gradient {
    background: linear-gradient(to top, rgba(16, 185, 129, 0.05), transparent);
}

.chart-container-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Custom Tooltip Styling */
.chartjs-tooltip {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
/* Modern Funnel Styles */
.funnel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.funnel-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.funnel-stage:hover {
    filter: brightness(0.98);
    transform: scale(1.01);
}

.stage-reach {
    width: 100%;
    background: #F5F3FF;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}

.stage-clicks {
    width: 100%;
    background: #FFEDD5;
    clip-path: polygon(15% 0, 85% 0, 75% 100%, 25% 100%);
    margin-top: -20px;
}

.stage-visits {
    width: 100%;
    background: #FED7AA;
    clip-path: polygon(25% 0, 75% 0, 65% 100%, 35% 100%);
    margin-top: -20px;
}

.stage-leads {
    width: 100%;
    background: #FB923C;
    clip-path: polygon(35% 0, 65% 0, 60% 100%, 40% 100%);
    margin-top: -15px;
    color: white;
    padding: 3rem 2rem 4rem 2rem;
    box-shadow: 0 10px 30px -5px rgba(251, 146, 60, 0.3);
}

.funnel-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.stage-leads .funnel-label {
    opacity: 0.9;
}

.funnel-value {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.conversion-tag {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 20;
}

.stage-leads .funnel-value {
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
