/* Enhanced Styles for SIB Financial Website */

/* =======================================
   ENHANCED DASHBOARD COMPONENTS
   ======================================= */

/* Updated Dashboard Styles */
.app-dashboard {
    padding: 15px;
    gap: 12px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 0.75rem;
    opacity: 0.9;
}

.user-greeting i {
    font-size: 1.25rem;
}

.notification-icon {
    color: white;
    font-size: 1rem;
    opacity: 0.8;
    cursor: pointer;
    animation: bellRing 2s ease-in-out infinite 2s;
}

@keyframes bellRing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

.balance-card small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.growth-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #00ffa5;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(52, 211, 153, 0.15);
    padding: 4px 8px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.growth-indicator i {
    font-size: 0.9rem;
    color: #00ffa5;
    filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.8));
    animation: bounceUp 1.5s ease-in-out infinite;
}

@keyframes bounceUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Quick Stats Redesign */
.quick-stats {
    display: flex;
    gap: 8px;
}

.quick-stats .stat-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.quick-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.stat-icon.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.stat-icon.sip {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.stat-icon.mis {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon i {
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.6rem;
}

/* Animated Chart Bars */
.chart-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: flex-end;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 4px;
    width: 100%;
    height: 100%;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #10b981, #34d399);
    border-radius: 4px 4px 0 0;
    height: var(--height);
    animation: barGrow 1s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.bar:nth-child(1) {
    animation-delay: 0.1s;
}

.bar:nth-child(2) {
    animation-delay: 0.2s;
}

.bar:nth-child(3) {
    animation-delay: 0.3s;
}

.bar:nth-child(4) {
    animation-delay: 0.4s;
}

.bar:nth-child(5) {
    animation-delay: 0.5s;
}

/* =======================================
   ENHANCED STEP CARDS
   ======================================= */

.step-icon.animated-icon {
    position: relative;
    overflow: visible;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    filter: blur(20px);
    opacity: 0.3;
    animation: iconPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.step-visual {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

/* Amount Options */
.amount-options,
.frequency-options {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.amount-badge,
.freq-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--light-gray);
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.amount-badge.active,
. freq-badge.active {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

.amount-badge:hover,
.freq-badge:hover {
    transform: translateY(-2px);
}

/* Growth Chart */
.growth-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 50px;
}

.growth-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    height: var(--growth);
    animation: growUp 1s ease-out forwards;
    transform-origin: bottom;
}

@keyframes growUp {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.growth-bar:nth-child(1) {
    animation-delay: 0.1s;
}

.growth-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.growth-bar:nth-child(3) {
    animation-delay: 0.3s;
}

.growth-bar:nth-child(4) {
    animation-delay: 0.4s;
}

/* =======================================
   ENHANCED CTA SECTION
   ======================================= */

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: float 3s ease-in-out infinite;
}

.cta-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.pulse-btn {
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
}

.cta-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.cta-stat span {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* =======================================
   RESPONSIVE ENHANCEMENTS
   ======================================= */

@media (max-width: 640px) {
    .quick-stats {
        flex-direction: column;
    }

    .quick-stats .stat-item {
        padding: 12px;
    }

    .cta-stats {
        gap: 2rem;
    }

    .cta-stat strong {
        font-size: 1.5rem;
    }

    .amount-options,
    .frequency-options {
        flex-wrap: wrap;
    }
}