@media (max-width: 900px) {
    .grafico {
        width: 98vw !important;
        max-width: 98vw !important;
        margin: 0 auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 0.5rem;
    }
    .grafico-container {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .grafico-header {
        text-align: center;
        width: 100%;
        margin-bottom: 1rem;
    }
    .grafico-content {
        width: 100% !important;
        max-width: 100vw !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
    }
    .chart-wrapper {
        width: 95vw !important;
        max-width: 95vw !important;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #growthChart {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        margin: 0 auto;
        display: block;
    }
    .stats-section {
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .stats-grid {
        width: 100%;
        max-width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
    }
    .stat-item {
        width: 90vw;
        max-width: 95vw;
        margin: 0 auto;
        text-align: center;
        padding: 0.7rem 0.2rem;
        font-size: 1.1rem;
    }
}
.grafico {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.grafico-container {
    width: 80%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: subtle-glow 3s infinite linear;
    position: relative;
    overflow: hidden;
}

.grafico-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(125, 14, 223, 0.1),
            transparent);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.grafico-header {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 2;
    position: relative;
}

.grafico-header h2 {
    font-weight: 300;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    background-image: linear-gradient(45deg, var(--white) 15%, var(--grey) 82%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grafico-header p {
    color: var(--grey);
    font-size: 1rem;
}

.chart-wrapper {
    position: relative;
    height: 200px;
    margin: 2rem 0;
    z-index: 2;
}

#growthChart {
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    z-index: 2;
    position: relative;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

.stat-item div span {
    display: block;
    font-family: 'Technor', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(125, 14, 223, 0.6);
}

.stat-item:hover {
    background: rgba(125, 14, 223, 0.1);
    border-color: rgba(125, 14, 223, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(125, 14, 223, 0.2);
}

.stat-number {
    display: block;
    font-family: 'Technor', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(125, 14, 223, 0.6);
}

.stat-label {
    display: block;
    color: var(--light-grey);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item.animate {
    animation: countUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 1200px) {
    .grafico {
        width: 100%;
        margin-top: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grafico-header h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .grafico {
        padding: 1rem;
    }

    .grafico-container {
        padding: 1.5rem;
    }

    .chart-wrapper {
        height: 250px;
    }

    .grafico-header h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}