main {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2em;
    color: var(--secondary);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    color: var(--dark);
}

.dashboard-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    justify-items: center; /* centra las tarjetas dentro de cada celda */
}

.stat-card {
    background-color: var(--background-card, white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    width: 100%;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary, #667eea);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 1rem;
}

.stat-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}



.header {
    text-align: center;
    margin-bottom: 20px;
}

.insights-title {
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        max-width: 90%;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .stat-number {
        font-size: 2em;
    }

}
