/* ENHANCED MISSION SECTION - VIBRANT BRAND COLORS */
/* Replaces washed-out styles with eye-catching animations */

/* One in Ten Chart - Vibrant Background */
.one-in-ten-chart {
    background: linear-gradient(135deg,
        #4A90A4 0%,      /* Teal */
        #5BA3BA 25%,     /* Lighter teal */
        #E8989C 75%,     /* Pink */
        #F5A8AC 100%     /* Lighter pink */
    );
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.one-in-ten-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.one-in-ten-chart .chart-title {
    font-size: 5rem;
    color: white;
    margin-bottom: 60px;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.3);
    font-weight: 900;
    letter-spacing: 2px;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow:
            0 2px 10px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow:
            0 2px 10px rgba(0, 0, 0, 0.3),
            0 0 60px rgba(255, 255, 255, 0.5),
            0 0 80px rgba(232, 152, 156, 0.4);
    }
}

/* Baby Icons - More vibrant */
.baby-icon {
    background: linear-gradient(135deg, #FFF4E0 0%, white 100%);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.5) inset;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.baby-icon.premature {
    background: linear-gradient(135deg, #E8989C 0%, #F5A8AC 100%);
    box-shadow:
        0 15px 50px rgba(232, 152, 156, 0.8),
        0 0 30px rgba(255, 255, 255, 0.5) inset;
    border: 3px solid white;
    animation: babyPopIn 0.5s ease-out forwards, prematurePulse 2s ease-in-out infinite;
    animation-delay: 1.0s, 1.5s;
}

@keyframes prematurePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 15px 50px rgba(232, 152, 156, 0.8),
            0 0 30px rgba(255, 255, 255, 0.5) inset;
    }
    50% {
        transform: scale(1.2);
        box-shadow:
            0 20px 60px rgba(232, 152, 156, 1),
            0 0 50px rgba(255, 255, 255, 0.7) inset,
            0 0 100px rgba(232, 152, 156, 0.6);
    }
}

.one-in-ten-chart .chart-stat {
    font-size: 4rem;
    color: white;
    font-weight: 900;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(232, 152, 156, 0.6);
    animation: statPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both;
}

@keyframes statPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.one-in-ten-chart .chart-subtitle {
    font-size: 2rem;
    color: white;
    opacity: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    animation: fadeIn 0.8s ease 1.5s both;
}

/* Mission Content - Vibrant Stats */
.mission-content {
    background: linear-gradient(135deg,
        rgba(255, 244, 224, 0.98) 0%,
        rgba(255, 255, 255, 0.98) 100%
    );
    padding: 4rem;
    border-radius: 30px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 3px rgba(74, 144, 164, 0.3);
    border: 5px solid white;
}

.mission-content h1 {
    font-size: 5rem;
    color: #4A90A4;
    text-shadow:
        0 4px 20px rgba(74, 144, 164, 0.4),
        0 0 40px rgba(74, 144, 164, 0.2);
    animation: titleBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    margin-bottom: 2rem;
}

@keyframes titleBounce {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Stats - Eye-popping numbers */
.mission-content .stat {
    font-size: 5rem;
    background: linear-gradient(135deg, #E8989C 0%, #F5A8AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(232, 152, 156, 0.3));
    position: relative;
}

.mission-content .stat::before {
    content: attr(data-number);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #E8989C 0%, #F5A8AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
}

.mission-content .stat span {
    font-size: 1.8rem;
    color: #2C3E50;
    font-weight: 700;
    text-shadow: none;
}

/* Rotating Charts - Vibrant Display */
.mission-slide .rotating-charts {
    background: linear-gradient(135deg,
        #4A90A4 0%,
        #5BA3BA 30%,
        #E8989C 70%,
        #F5A8AC 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mission-slide .chart-image {
    filter: brightness(1.2) contrast(1.3) saturate(1.3);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 5px white,
        0 0 50px rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0.95);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mission-slide .chart-image.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Floating sparkles */
.mission-content::before,
.mission-content::after {
    content: '✨';
    position: absolute;
    font-size: 3rem;
    animation: sparkleFloat 3s ease-in-out infinite;
    pointer-events: none;
}

.mission-content::before {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.mission-content::after {
    bottom: 10%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) rotate(180deg) scale(1.2);
    }
}

/* Tag line enhancement */
.mission-content .tagline {
    font-size: 2.2rem;
    color: #4A90A4;
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(74, 144, 164, 0.2);
    margin-top: 2rem;
    animation: fadeIn 0.8s ease 1s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
