/* =========================================
   SEO & POSICIONAMIENTO - ESTILOS ESPECÍFICOS
   Focus: Gráficas de crecimiento, Ranking
   ========================================= */

.seo-card {
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    max-width: 480px;
    margin: 0 auto;
}

/* Contenedor de las barras */
.rank-bar-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px; /* Altura de la gráfica */
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

/* Barras individuales */
.rank-bar {
    width: 12%;
    border-radius: 6px 6px 0 0;
    background: #f1f5f9; /* Gris inactivo */
    position: relative;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Barra Activa (La última, mostrando crecimiento) */
.rank-bar.active {
    /* Gradiente de Índigo a Naranja suave */
    background: linear-gradient(to top, var(--brand-yellow), #818cf8);
    box-shadow: 0 0 15px rgba(104, 101, 241, 0.3);
}

/* Tooltip simulado en la barra activa */
.rank-bar.active::after {
    content: '+145%';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-red);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
}